perf: passkey登录放到下方其他登录位置

This commit is contained in:
xiaojunnuo
2026-03-19 00:14:05 +08:00
parent 68b669d3ff
commit 1413e1aff4
5 changed files with 97 additions and 81 deletions
@@ -259,6 +259,9 @@ export class PipelineService extends BaseService<PipelineEntity> {
bean.order = old.order;
bean.userId = old.userId;
bean.projectId = old.projectId;
if (bean.content == null) {
bean.content = old.content;
}
}
if (!old || !old.webhookKey) {
bean.webhookKey = await this.genWebhookKey();