mirror of
https://github.com/certd/certd.git
synced 2026-05-16 21:27:34 +08:00
fix: 修复偶尔下载证书报未授权的错误
This commit is contained in:
@@ -241,7 +241,7 @@ export class HistoryController extends CrudController<HistoryService> {
|
||||
history = await this.service.getLastHistory(pipelineId);
|
||||
}
|
||||
if (history == null) {
|
||||
throw new CommonException('historyId is null');
|
||||
throw new CommonException('流水线还未运行过');
|
||||
}
|
||||
const {projectId} = await this.getProjectUserIdRead()
|
||||
if (projectId) {
|
||||
|
||||
Reference in New Issue
Block a user