apps/auth/src/app/app.controller.ts
Methods |
getData |
getData()
|
Decorators :
@Get()
|
Defined in apps/auth/src/app/app.controller.ts:10
|
Returns :
any
|
import { Controller, Get } from '@nestjs/common';
import { AppService } from './app.service';
@Controller()
export class AppController {
constructor(private readonly appService: AppService) {}
@Get()
getData() {
return this.appService.getData();
}
}