lib/flexirest/request.rb in flexirest-1.12.1 vs lib/flexirest/request.rb in flexirest-1.12.2

- old
+ new

@@ -342,9 +342,11 @@ end if params.is_a?(String) || params.is_a?(Integer) params = {id:params} end + params = params.dup + # Format includes parameter for jsonapi if proxy == :json_api JsonAPIProxy::Request::Params.translate(params, @object._include_associations) @object._reset_include_associations! end