From 0b2e66ba0e5fca75317bbca7d6745b6c8dc45079 Mon Sep 17 00:00:00 2001 From: merefield Date: Sun, 24 Sep 2023 09:11:37 +0100 Subject: [PATCH] tweak route --- 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 e7ad85e4..f4ad7bb2 100644 --- a/assets/javascripts/discourse/services/subscription.js +++ b/assets/javascripts/discourse/services/subscription.js @@ -27,7 +27,7 @@ export default class SubscriptionService extends Service { } retrieveSubscriptionStatus() { - ajax("/subscription").then(result => { + ajax("/admin/wizards/subscription").then(result => { console.log(result) this.subscribed = result.subscribed; this.subscriptionType = result.subscription_type;