lib/ruby_lokalise_api/request.rb in ruby-lokalise-api-8.0.0 vs lib/ruby_lokalise_api/request.rb in ruby-lokalise-api-8.0.1
- old
+ new
@@ -7,10 +7,10 @@
include RubyLokaliseApi::Connection
# Sends a GET request
def get(endpoint)
respond_with(
- connection(endpoint).get(prepare(endpoint.uri), endpoint.req_params),
+ connection(endpoint, get_request: true).get(prepare(endpoint.uri), endpoint.req_params),
endpoint
)
end
# Sends a POST request