mirror of
https://github.com/certd/certd.git
synced 2025-11-25 09:10:11 +08:00
chore: off cron when remove
This commit is contained in:
@@ -60,7 +60,8 @@ export class PipelineController extends CrudController<PipelineService> {
|
||||
@Post('/delete', { summary: Constants.per.authOnly })
|
||||
async delete(@Query('id') id) {
|
||||
await this.service.checkUserId(id, this.ctx.user.id);
|
||||
return super.delete(id);
|
||||
await this.service.delete(id);
|
||||
return this.ok({});
|
||||
}
|
||||
|
||||
@Post('/detail', { summary: Constants.per.authOnly })
|
||||
|
||||
Reference in New Issue
Block a user