SonarQ test on PR #1

Open
andrej wants to merge 14 commits from dev into main
Showing only changes of commit 2702afd5f1 - Show all commits

13
src/health.controller.ts Normal file
View File

@@ -0,0 +1,13 @@
import { Controller, Get } from '@nestjs/common';
import { HealthCheck, HealthCheckService } from '@nestjs/terminus';
@Controller('health')
export class HealthController {
constructor(private health: HealthCheckService) {}
@Get()
@HealthCheck()
check() {
return this.health.check([]);
}
}