first commit
This commit is contained in:
11
myteamwallet_backend/src/home/home.service.ts
Normal file
11
myteamwallet_backend/src/home/home.service.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
import { Injectable } from '@nestjs/common';
|
||||
import { ConfigService } from '@nestjs/config';
|
||||
|
||||
@Injectable()
|
||||
export class HomeService {
|
||||
constructor(private configService: ConfigService) {}
|
||||
|
||||
appInfo() {
|
||||
return { name: this.configService.get('app.name') };
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user