diff --git a/src/app/api/idnot/UserController.ts b/src/app/api/idnot/UserController.ts index 4135f211..d5ad7924 100644 --- a/src/app/api/idnot/UserController.ts +++ b/src/app/api/idnot/UserController.ts @@ -128,6 +128,7 @@ export default class UserController extends ApiController { payload.rules = manageSubscriptionRules[0].rules!.map((rule) => rule.name) || []; isSubscribed = true; } + if (!isSubscribed) { this.httpUnauthorized(response, "User not subscribed");