Total Complexity | 1 |
Complexity/F | 1 |
Lines of Code | 13 |
Function Count | 1 |
Duplicated Lines | 0 |
Ratio | 0 % |
Coverage | 75% |
Changes | 0 |
1 | 7 | import { Controller, Get } from '@nestjs/common'; |
|
2 | |||
3 | @Controller({ path: 'health', version: '1' }) |
||
4 | 7 | export class HealthController { |
|
5 | @Get() |
||
6 | 7 | check() { |
|
7 | return { |
||
8 | status: 'ok', |
||
9 | timestamp: new Date().toISOString(), |
||
10 | }; |
||
11 | } |
||
12 | } |
||
13 |