lib/ecoportal/api/common/batch_operation.rb in ecoportal-api-0.1.12 vs lib/ecoportal/api/common/batch_operation.rb in ecoportal-api-0.2.0

- old
+ new

@@ -28,10 +28,10 @@ body = subresponse["response"] method = @operations[idx][:method] batch_response = BatchResponse.new(status, body) if batch_response.success? && method == "GET" - callback.call response, @wrapper.new(body) + callback.call batch_response, @wrapper.new(body) else callback.call batch_response end end else