mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2026-07-10 21:15:04 +10:00
14 lines
318 B
TypeScript
14 lines
318 B
TypeScript
import { Controller, Get } from "@nestjs/common";
|
|
|
|
import { FeatureService } from "./feature.service";
|
|
|
|
@Controller("feature")
|
|
export class FeatureController {
|
|
constructor(private readonly featureService: FeatureService) {}
|
|
|
|
@Get("/flags")
|
|
getFeatureFlags() {
|
|
return this.featureService.getFeatures();
|
|
}
|
|
}
|