13 lines
280 B
TypeScript
13 lines
280 B
TypeScript
import { Controller, Get } from '@nestjs/common';
|
|
import { AuthService } from './auth.service';
|
|
|
|
@Controller()
|
|
export class AuthController {
|
|
constructor(private readonly authService: AuthService) {}
|
|
|
|
@Get()
|
|
getHello(): string {
|
|
return this.authService.getHello();
|
|
}
|
|
}
|