修复: URL中应该传项目标识

This commit is contained in:
yystopf 2022-07-15 14:19:54 +08:00
parent cdad03df2c
commit 52aa286146
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ class Users::SynchronizationService
email: @user.mail,
projectId: @target.id,
operateType: @watched == true ? 1 : 2,
projectUrl:"https://code.mulanos.cn/#{@target.owner.login}/#{@target.name}",
projectUrl:"https://code.mulanos.cn/#{@target.owner.login}/#{@target.identifier}",
projectTitle: @target.name,
projectDesc: @target.description,
operateTime: Time.now.to_i * 1000,