import { Controller, Get } from '@nestjs/common'; import { Public } from '../admin-auth/decorators/admin-auth.decorators'; import { HealthService } from './health.service'; @Public() @Controller('health') export class HealthController { constructor(private readonly healthService: HealthService) {} @Get() getHealth() { return this.healthService.getHealth(); } @Get('db') getDbHealth() { return this.healthService.getDbHealth(); } }