0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-11-09 20:02:54 +01:00

first update local subscriptions before retrieving them

Dieser Commit ist enthalten in:
merefield 2023-11-15 13:33:02 +00:00
Ursprung bd712524c1
Commit 6be518f0e1

Datei anzeigen

@ -107,6 +107,7 @@ class CustomWizard::Subscription
:product_slug :product_slug
def initialize def initialize
::DiscourseSubscriptionClient::Subscriptions.update
result = ::DiscourseSubscriptionClient.find_subscriptions("discourse-custom-wizard") result = ::DiscourseSubscriptionClient.find_subscriptions("discourse-custom-wizard")
if result&.any? if result&.any?