feat: lab2 done

This commit is contained in:
2026-10-09 15:48:03 +03:00
parent f743ee10a2
commit 575f8ee386
104 changed files with 7038 additions and 1099 deletions
+9 -9
View File
@@ -3,15 +3,15 @@ import { HealthService } from './health.service.js';
@Controller('health')
export class HealthController {
constructor(private readonly healthService: HealthService) {}
constructor(private readonly healthService: HealthService) {}
@Get('live')
getLive() {
return this.healthService.getLiveness();
}
@Get('live')
getLive() {
return this.healthService.getLiveness();
}
@Get('ready')
getReady() {
return this.healthService.getReadiness();
}
@Get('ready')
async getReady() {
return this.healthService.getReadiness();
}
}