13 lines
206 B
TypeScript
13 lines
206 B
TypeScript
import { Injectable } from '@nestjs/common';
|
|
|
|
export interface HealthResponse {
|
|
status: 'ok';
|
|
}
|
|
|
|
@Injectable()
|
|
export class AppService {
|
|
getHealth(): HealthResponse {
|
|
return { status: 'ok' };
|
|
}
|
|
}
|