mirror of
https://github.com/SyncrowIOT/backend.git
synced 2025-07-15 18:27:05 +00:00
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();
|
|
}
|
|
}
|