Skip to content

Commit

Permalink
first update local subscriptions before retrieving them
Browse files Browse the repository at this point in the history
  • Loading branch information
merefield committed Nov 15, 2023
1 parent bd71252 commit 6be518f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/custom_wizard/subscription.rb
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ def self.attributes
:product_slug

def initialize
::DiscourseSubscriptionClient::Subscriptions.update
result = ::DiscourseSubscriptionClient.find_subscriptions("discourse-custom-wizard")

if result&.any?
Expand Down

0 comments on commit 6be518f

Please sign in to comment.