revert: revert controller name

This commit is contained in:
abdou6666 2024-11-22 18:12:50 +01:00
parent 978562900e
commit 332a2b7a70

View File

@ -332,7 +332,7 @@ export class BlockController extends BaseController<
@CsrfCheck(true)
@Delete('')
@HttpCode(204)
async deleteBlocksByIds(@Body('ids') ids: string[]): Promise<DeleteResult> {
async deleteMany(@Body('ids') ids: string[]): Promise<DeleteResult> {
if (!ids || ids.length === 0) {
throw new BadRequestException('No IDs provided for deletion.');
}