Spiegel von
https://github.com/paviliondev/discourse-custom-wizard.git
synchronisiert 2024-11-25 02:30:28 +01:00
namespace fix
Dieser Commit ist enthalten in:
Ursprung
c5d8003761
Commit
1a32862fd1
1 geänderte Dateien mit 3 neuen und 1 gelöschten Zeilen
|
@ -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|
|
||||
|
|
Laden …
In neuem Issue referenzieren