mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-11 07:15:55 +08:00
token update
This commit is contained in:
@@ -89,7 +89,7 @@ namespace :batch_add_issues do
|
||||
end
|
||||
|
||||
issue_number = issue['number']
|
||||
comment_api_url = "https://gitee.com/api/v5/repos/mindspore/mindspore/issues/#{issue_number}/comments?access_token=5ccebd935915fb6cfcae634b161047a2&page=1&per_page=100&order=asc"
|
||||
comment_api_url = "https://gitee.com/api/v5/repos/mindspore/mindspore/issues/#{issue_number}/comments?access_token=96a637aa055f15056e77e3cf11a67525&page=1&per_page=100&order=asc"
|
||||
comment_uri = URI.parse(comment_api_url)
|
||||
comment_response = Net::HTTP.get_response(comment_uri)
|
||||
comment_lists = JSON.parse(comment_response.body)
|
||||
|
||||
Reference in New Issue
Block a user