13 lines
334 B
TypeScript
13 lines
334 B
TypeScript
import { Controller, Get } from '@nestjs/common';
|
|
import { NotificationsService } from './notifications.service';
|
|
|
|
@Controller()
|
|
export class NotificationsController {
|
|
constructor(private readonly notificationsService: NotificationsService) {}
|
|
|
|
@Get()
|
|
getHello(): string {
|
|
return this.notificationsService.getHello();
|
|
}
|
|
}
|