mirror of
https://github.com/certd/certd.git
synced 2026-05-16 21:27:34 +08:00
perf: 流水线支持批量修改分组,批量删除
This commit is contained in:
@@ -104,6 +104,7 @@ export class HistoryController extends CrudController<HistoryService> {
|
||||
@Post('/update', { summary: Constants.per.authOnly })
|
||||
async update(@Body(ALL) bean) {
|
||||
await this.authService.checkEntityUserId(this.ctx, this.getService(), bean.id);
|
||||
delete bean.userId;
|
||||
return super.update(bean);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user