mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-24 13:45:44 +08:00
FIX drone sever request params
This commit is contained in:
@@ -62,7 +62,9 @@
|
||||
req.headers['Authorization']
|
||||
end
|
||||
end
|
||||
response = client.public_send(method, path, params.except(:drone_token))
|
||||
response = client.public_send(method, path) do |req|
|
||||
req.body = params.except(:drone_token).to_json
|
||||
end
|
||||
|
||||
json_response(response)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user