diff --git a/package-lock.json b/package-lock.json index e466628e..a1564881 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@cheqd/studio", - "version": "3.0.1-develop.2", + "version": "3.1.0-develop.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@cheqd/studio", - "version": "3.0.1-develop.2", + "version": "3.1.0-develop.1", "license": "Apache-2.0", "dependencies": { "@cheqd/did-provider-cheqd": "^4.1.1", diff --git a/src/middleware/auth/routes/admin/admin-auth.ts b/src/middleware/auth/routes/admin/admin-auth.ts index 7b51b641..ed1dc582 100644 --- a/src/middleware/auth/routes/admin/admin-auth.ts +++ b/src/middleware/auth/routes/admin/admin-auth.ts @@ -26,7 +26,7 @@ export class AdminAuthRuleProvider extends AuthRuleProvider { skipNamespace: true, }); this.registerRule('/admin/subscription/get', 'GET', 'admin:subscription:get', { skipNamespace: true }); - this.registerRule('/admin/checkout/session/(.*)', 'GET', '', { skipNamespace: true }); + this.registerRule('/admin/checkout/session/(.*)', 'GET', 'admin:subscription:get', { skipNamespace: true }); // Prices this.registerRule('/admin/price/list', 'GET', 'admin:price:list', { skipNamespace: true });