perf: 新增server酱3通知

This commit is contained in:
xiaojunnuo
2024-12-03 10:32:47 +08:00
parent 393ea27fa4
commit 6aa487269c
17 changed files with 86 additions and 19 deletions
@@ -73,8 +73,6 @@ export class HistoryController extends CrudController<HistoryService> {
buildQuery,
});
return this.ok(res);
}
@@ -95,6 +93,14 @@ export class HistoryController extends CrudController<HistoryService> {
sort: { prop: 'id', asc: false },
buildQuery,
});
for (const item of listRet) {
if (!item.pipeline) {
continue;
}
const json = JSON.parse(item.pipeline);
delete json.stages;
item.pipeline = json;
}
return this.ok(listRet);
}