fixed reposyncer job_logs
This commit is contained in:
parent
14f4b290cb
commit
99ba523084
|
@ -124,11 +124,7 @@ class ObRepositorySync::ApiService < ApplicationService
|
|||
response = http.request(request)
|
||||
Rails.logger.info "set_commit job response.read_body======#{response.read_body}"
|
||||
res = JSON.parse(response.body)
|
||||
if res["code"].to_s == "200"
|
||||
res["data"]
|
||||
else
|
||||
[]
|
||||
end
|
||||
res
|
||||
end
|
||||
|
||||
def pull_requests
|
||||
|
|
Loading…
Reference in New Issue