meow-map / src /app /app.controller.ts
WYL
'add'
7d0e1cc
Raw History Blame Contribute Delete
463 Bytes
import { Controller, Get, UseGuards } from '@nestjs/common';
import { AppService } from './app.service';
import { JwtAuthGuard } from './auth/guard/jwt.guard';
import { MailService } from './mail/mail.service';
@Controller()
@UseGuards(JwtAuthGuard)
export class AppController {
constructor(private readonly appService: AppService, private mailService: MailService) {}
@Get()
getHello(): string {
return this.appService.getHello();
}
}