Skip to content

Commit

Permalink
Fix incorrect conflict resolution
Browse files Browse the repository at this point in the history
  • Loading branch information
angusmcleod committed Mar 21, 2023
1 parent 186434a commit b39763f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/subscription_server/user_subscriptions.rb
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def load(resources = nil)
next handle_failure(resource, "failed to setup #{provider.name}") unless provider.setup

product_ids = sub_atts[:products].map { |p| p[:product_id] }
resource_subscriptions = provider.subscriptions(sub_atts[:product_ids], resource)
resource_subscriptions = provider.subscriptions(product_ids, resource)
next handle_failure(resource, "no subscriptions found for #{resource}") if resource_subscriptions.none?

product_ids = resource_subscriptions.map(&:product_id)
Expand Down

0 comments on commit b39763f

Please sign in to comment.