Kaynağa Gözat

feat(channel): comment out delete channel endpoint in ChannelController

Dave 2 ay önce
ebeveyn
işleme
d164254f3a

+ 6 - 6
apps/box-mgnt-api/src/mgnt-backend/feature/channel/channel.controller.ts

@@ -71,10 +71,10 @@ export class ChannelController {
     return this.service.update({ ...dto, id });
   }
 
-  @Delete(':id')
-  @ApiOperation({ summary: 'Delete channel' })
-  @ApiResponse({ status: 200, description: 'Deletion result' })
-  remove(@Param() { id }: MongoIdParamDto) {
-    return this.service.remove(id);
-  }
+  // @Delete(':id')
+  // @ApiOperation({ summary: 'Delete channel' })
+  // @ApiResponse({ status: 200, description: 'Deletion result' })
+  // remove(@Param() { id }: MongoIdParamDto) {
+  //   return this.service.remove(id);
+  // }
 }

+ 1 - 0
apps/box-mgnt-api/src/mgnt-backend/feature/channel/channel.service.ts

@@ -1,3 +1,4 @@
+// box-mgnt-api/src/mgnt-backend/feature/channel/channel.service.ts
 import {
   Injectable,
   BadRequestException,