import { Controller, Get } from '@nestjs/common';
import { Public } from './auth/public.decorator';

@Controller()
export class AppController {
  @Public()
  @Get('/health')
  health() {
    return {
      ok: true,
      service: 'sentai-api',
      now: new Date().toISOString(),
    };
  }
}
