This commit is contained in:
Vins 2024-04-23 17:48:35 +02:00
parent a643fcb371
commit 3686edb1ce

View File

@ -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");