mirror of https://github.com/certd/certd
fix: 修复保存配置报id不能为空的bug
parent
a954629ff9
commit
367f807313
|
@ -184,6 +184,9 @@ export class PipelineService extends BaseService<PipelineEntity> {
|
|||
}
|
||||
|
||||
async clearTriggers(id: number) {
|
||||
if (id == null) {
|
||||
return;
|
||||
}
|
||||
const pipeline = await this.info(id);
|
||||
if (!pipeline) {
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue