lib/push/client.rb in expo-server-sdk-0.1.1 vs lib/push/client.rb in expo-server-sdk-0.1.2

- old
+ new

@@ -231,11 +231,11 @@ data = parsed_response['data'] if errors&.length&.positive? ReceiptsWithErrors.new(data: parsed_response, errors: errors) else - results = data.map do |receipt_id, data| - Receipt.new(data: data, receipt_id: receipt_id) + results = data.map do |receipt_id, receipt_value| + Receipt.new(data: receipt_value, receipt_id: receipt_id) end Receipts.new(results: results, requested_ids: receipt_ids) end end