mirror of
https://github.com/certd/certd.git
synced 2026-04-24 04:17:25 +08:00
perf: 新增server酱3通知
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user