forked from Trustie/forgeplus
Merge branch 'dev_trustie' into dev_devops
This commit is contained in:
commit
e2daffc826
|
@ -22,7 +22,7 @@ class Gitea::ClientService < ApplicationService
|
||||||
puts "[gitea] request params: #{params}"
|
puts "[gitea] request params: #{params}"
|
||||||
auth_token = authen_params(params[:token])
|
auth_token = authen_params(params[:token])
|
||||||
response = conn(auth_token).post do |req|
|
response = conn(auth_token).post do |req|
|
||||||
req.url "#{request_url}"
|
req.url full_url(url)
|
||||||
req.body = params[:data].to_json
|
req.body = params[:data].to_json
|
||||||
end
|
end
|
||||||
render_status(response)
|
render_status(response)
|
||||||
|
|
Loading…
Reference in New Issue