From eefbe0a1fc391c926e0ab871e4658be541420e39 Mon Sep 17 00:00:00 2001 From: merefield Date: Sun, 24 Sep 2023 07:43:42 +0100 Subject: [PATCH] debug --- assets/javascripts/discourse/services/subscription.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/javascripts/discourse/services/subscription.js b/assets/javascripts/discourse/services/subscription.js index 606b62f0..2268dd9c 100644 --- a/assets/javascripts/discourse/services/subscription.js +++ b/assets/javascripts/discourse/services/subscription.js @@ -28,6 +28,7 @@ export default class SubscriptionService extends Service { retrieveSubscriptionStatus() { ajax("/admin/wizards").then(result => { + console.log(result) this.subscribed = result.subscribed; this.subscriptionType = result.subscription_type; this.subscriptionAttributes = result.subscription_attributes; @@ -38,7 +39,6 @@ export default class SubscriptionService extends Service { .catch(popupAjaxError); }; - get adminWizards() { return getOwner(this).lookup("controller:admin-wizards"); };