courtmitra / apps /api /src /health.controller.ts
Hetansh Waghela
fix: Critical auth + ownership + container bugs from audit
76b46a3
Raw
History Blame
264 Bytes
import { Controller, Get } from "@nestjs/common";
import { Public } from "./auth/public.decorator.js";
@Controller("admin")
export class HealthController {
@Public()
@Get("health")
health() {
return { status: "ok", ts: new Date().toISOString() };
}
}