Browse Source

修复

pull/347/head
yystopf 1 year ago
parent
commit
46124f7f15
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      lib/tasks/import_issues_from_chandao.rake

+ 1
- 1
lib/tasks/import_issues_from_chandao.rake View File

@@ -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,


Loading…
Cancel
Save