lib/grumlin/request_dispatcher.rb in grumlin-0.7.0 vs lib/grumlin/request_dispatcher.rb in grumlin-0.8.0

- old
+ new

@@ -46,10 +46,10 @@ check_errors!(response[:status]) case SUCCESS[response.dig(:status, :code)] when :success - request[:channel] << request[:result] + [response.dig(:result, :data)] + request[:channel] << [*request[:result], response.dig(:result, :data)] close_request(request_id) when :partial_content then request[:result] << response.dig(:result, :data) when :no_content request[:channel] << [] close_request(request_id)