File size: 368 Bytes
88f437e
c114c72
d9eec61
88f437e
 
 
 
 
d9eec61
88f437e
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import { Controller, Get } from '@nestjs/common';
import { AppService } from './app.service.js';
import { Public } from './modules/authentication/authentication.decorator.js';

@Controller()
export class AppController {
  constructor(private readonly appService: AppService) {}

  @Public()
  @Get()
  getHello(): string {
    return this.appService.getHello();
  }
}