src/app.service.ts
Properties |
|
Methods |
getStatus |
getStatus()
|
Defined in src/app.service.ts:12
|
Returns :
string
|
Public config |
Type : ConfigService
|
Decorators :
@Inject(ConfigService)
|
Defined in src/app.service.ts:10
|
import { Inject, Injectable } from '@nestjs/common';
import { ConfigService } from '@nestjs/config';
@Injectable()
export class AppService {
@Inject(ConfigService)
public config: ConfigService;
getStatus(): string {
return 'OK';
}
}