mirror of
https://github.com/dkam/paapi.git
synced 2026-08-13 16:42:17 +00:00
Fix depracation message
This commit is contained in:
+1
-1
@@ -111,7 +111,7 @@ module Paapi
|
||||
headers['Content-Type'] = 'application/json; charset=utf-8'
|
||||
|
||||
unless @http.nil?
|
||||
Response.new( @http.headers(headers).post(endpoint, json: payload ) )
|
||||
Response.new( @http.with_headers(headers).post(endpoint, json: payload ) )
|
||||
else
|
||||
Response.new( Client.post(url: endpoint, body: payload, headers: headers))
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user