forked from Trustie/forgeplus
fix
This commit is contained in:
parent
52d40e477e
commit
0614692196
|
|
@ -111,7 +111,7 @@ module HuaweiCloud
|
|||
end
|
||||
|
||||
def issue_status(task_id,body)
|
||||
url = "ttps://codecheck-ext.#{@region}.myhuaweicloud.com/v1/defect/issue-status"
|
||||
url = "https://codecheck-ext.#{@region}.myhuaweicloud.com/v1/defect/issue-status"
|
||||
body["taskId"] = task_id
|
||||
resp = RestClient.post(url, body.to_json, @headers)
|
||||
JSON.parse(resp.body)
|
||||
|
|
@ -121,7 +121,7 @@ module HuaweiCloud
|
|||
end
|
||||
|
||||
def issue_list_by_filter(task_id,body)
|
||||
url = "ttps://codecheck-ext.#{@region}.myhuaweicloud.com/v1/defect/issue-list-by-filter"
|
||||
url = "https://codecheck-ext.#{@region}.myhuaweicloud.com/v1/defect/issue-list-by-filter"
|
||||
body["taskId"] = task_id
|
||||
resp = RestClient.post(url, body.to_json, @headers)
|
||||
JSON.parse(resp.body)
|
||||
|
|
@ -131,7 +131,7 @@ module HuaweiCloud
|
|||
end
|
||||
|
||||
def issue_filter(task_id,body)
|
||||
url = "ttps://codecheck-ext.#{@region}.myhuaweicloud.com/v1/defect/issue-filter"
|
||||
url = "https://codecheck-ext.#{@region}.myhuaweicloud.com/v1/defect/issue-filter"
|
||||
body["taskId"] = task_id
|
||||
resp = RestClient.post(url, body.to_json, @headers)
|
||||
JSON.parse(resp.body)
|
||||
|
|
|
|||
Loading…
Reference in New Issue