mirror of
https://github.com/hexastack/hexabot
synced 2024-11-23 20:52:23 +00:00
revert: revert controller name
This commit is contained in:
parent
978562900e
commit
332a2b7a70
@ -332,7 +332,7 @@ export class BlockController extends BaseController<
|
|||||||
@CsrfCheck(true)
|
@CsrfCheck(true)
|
||||||
@Delete('')
|
@Delete('')
|
||||||
@HttpCode(204)
|
@HttpCode(204)
|
||||||
async deleteBlocksByIds(@Body('ids') ids: string[]): Promise<DeleteResult> {
|
async deleteMany(@Body('ids') ids: string[]): Promise<DeleteResult> {
|
||||||
if (!ids || ids.length === 0) {
|
if (!ids || ids.length === 0) {
|
||||||
throw new BadRequestException('No IDs provided for deletion.');
|
throw new BadRequestException('No IDs provided for deletion.');
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user