From 332a2b7a704261da0ec7dc3a8707744fb74b0ad8 Mon Sep 17 00:00:00 2001 From: abdou6666 Date: Fri, 22 Nov 2024 18:12:50 +0100 Subject: [PATCH] revert: revert controller name --- api/src/chat/controllers/block.controller.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/chat/controllers/block.controller.ts b/api/src/chat/controllers/block.controller.ts index 0cdc057..3cc9dc9 100644 --- a/api/src/chat/controllers/block.controller.ts +++ b/api/src/chat/controllers/block.controller.ts @@ -332,7 +332,7 @@ export class BlockController extends BaseController< @CsrfCheck(true) @Delete('') @HttpCode(204) - async deleteBlocksByIds(@Body('ids') ids: string[]): Promise { + async deleteMany(@Body('ids') ids: string[]): Promise { if (!ids || ids.length === 0) { throw new BadRequestException('No IDs provided for deletion.'); }