mirror of
https://github.com/certd/certd.git
synced 2026-04-23 19:57:27 +08:00
fix: 修复群晖测试时报addSecret undefine错误
This commit is contained in:
@@ -41,7 +41,7 @@ export class HandleController extends BaseController {
|
||||
if (body.record.id > 0) {
|
||||
const oldEntity = await this.accessService.info(body.record.id);
|
||||
if (oldEntity) {
|
||||
if (oldEntity.userId !== this.getUserId()) {
|
||||
if (oldEntity.userId !== userId) {
|
||||
throw new Error('access not found');
|
||||
}
|
||||
if (oldEntity.projectId && oldEntity.projectId !== projectId) {
|
||||
|
||||
@@ -33,7 +33,7 @@ const pipelineExample = `
|
||||
"title": "申请证书", // 步骤标题
|
||||
"runnableType": "step", // 类型标识
|
||||
"input": { //输入参数 ,根据插件的配置有不同的参数,具体参数建议通过浏览器F12进行查看
|
||||
"renewDays": 15,
|
||||
"renewDays": 20,
|
||||
},
|
||||
"strategy": { // 策略
|
||||
"runStrategy": 0 // 运行策略,0:正常执行,1:成功后跳过
|
||||
|
||||
Reference in New Issue
Block a user