diff --git a/apps/backend/src/app/machines/machines.controller.ts b/apps/backend/src/app/machines/machines.controller.ts index 13fce74..c015db9 100644 --- a/apps/backend/src/app/machines/machines.controller.ts +++ b/apps/backend/src/app/machines/machines.controller.ts @@ -24,6 +24,7 @@ export class MachinesController { @Query("search", new DefaultValuePipe("")) search: string, ) {} + //TODO DTO @UseGuards(AdminGuard) @Post("new") async newMachine() {} @@ -34,6 +35,8 @@ export class MachinesController { //TODO Patch + //TODO CRUD fileType associated to machine + @Get(":machineId/files") async getFilesForMachine( @Query("limit", new DefaultValuePipe(20), ParseIntPipe) limit: number,