From 3686edb1ce53cf5a6ef23743126286e291fb5ecd Mon Sep 17 00:00:00 2001 From: Vins Date: Tue, 23 Apr 2024 17:48:35 +0200 Subject: [PATCH] Test --- src/app/api/idnot/UserController.ts | 1 + 1 file changed, 1 insertion(+) 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");