pcpuma_unam_api/src/status/status.controller.ts

16 lines
337 B
TypeScript
Raw Normal View History

2022-04-18 04:08:26 +00:00
import { Controller, Get } from '@nestjs/common';
2022-04-05 01:53:32 +00:00
import { StatusService } from './status.service';
2022-05-01 02:18:19 +00:00
import {ApiTags} from '@nestjs/swagger'
2022-03-30 04:03:19 +00:00
@Controller('status')
2022-05-01 02:18:19 +00:00
@ApiTags('status')
2022-04-05 01:53:32 +00:00
export class StatusController {
constructor(private statusService: StatusService) {}
2022-04-18 04:08:26 +00:00
@Get()
2022-04-20 04:52:04 +00:00
get() {
return this.statusService.findAll();
}
2022-04-05 01:53:32 +00:00
}