mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-20 19:55:56 +08:00
修复
This commit is contained in:
@@ -8,7 +8,7 @@ namespace :import_from_chandao do
|
||||
|
||||
http = Net::HTTP.new(url.host, url.port);
|
||||
request = Net::HTTP::Post.new(url)
|
||||
request["Cookie"] = "autologin_trustie=#{Token.get_or_create_permanent_login_token(assigner, 'autologin')}"
|
||||
request["Cookie"] = "autologin_trustie=#{Token.get_or_create_permanent_login_token(assigner, 'autologin')&.value}"
|
||||
request["Content-Type"] = "application/json"
|
||||
request.body = JSON.dump({
|
||||
"pmsProjectId": pm_project_id,
|
||||
|
||||
Reference in New Issue
Block a user