mirror of
https://github.com/certd/certd.git
synced 2026-04-18 16:40:54 +08:00
chore: suite
This commit is contained in:
@@ -57,8 +57,8 @@ export class PluginController extends CrudController<PluginService> {
|
||||
}
|
||||
|
||||
@Post('/deleteByIds', { summary: 'sys:settings:edit' })
|
||||
async deleteByIds(@Body(ALL) body: { ids: number[] }) {
|
||||
const res = await this.service.delete(body.ids);
|
||||
async deleteByIds(@Body('ids') ids: number[]) {
|
||||
const res = await this.service.delete(ids);
|
||||
return this.ok(res);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user