0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-11-25 02:30:28 +01:00
Dieser Commit ist enthalten in:
merefield 2023-09-25 17:00:39 +01:00
Ursprung c5d8003761
Commit 1a32862fd1

Datei anzeigen

@ -1,4 +1,6 @@
# frozen_string_literal: true
require "discourse_subscription_client"
class CustomWizard::Subscription
PRODUCT_HIERARCHY = %w[
community
@ -105,7 +107,7 @@ class CustomWizard::Subscription
:product_slug
def initialize
result = DiscourseSubscriptionClient.find_subscriptions("discourse-custom-wizard")
result = ::DiscourseSubscriptionClient.find_subscriptions("discourse-custom-wizard")
if result&.any?
ids_and_slugs = result.subscriptions.map do |subscription|