From cd101d2f110138379412a283d6f70a80021451cc Mon Sep 17 00:00:00 2001 From: Vins Date: Wed, 24 Apr 2024 10:18:57 +0200 Subject: [PATCH] logs --- src/app/api/idnot/UserController.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/app/api/idnot/UserController.ts b/src/app/api/idnot/UserController.ts index 588782c8..fdaa9096 100644 --- a/src/app/api/idnot/UserController.ts +++ b/src/app/api/idnot/UserController.ts @@ -125,7 +125,9 @@ export default class UserController extends ApiController { const manageSubscriptionRules = RulesGroup.hydrateArray(manageSubscriptionRulesEntity, { strategy: "excludeAll" }); if(!manageSubscriptionRules[0]) return; - payload.rules = manageSubscriptionRules[0].rules!.map((rule) => rule.name) || []; + payload.rules = manageSubscriptionRules[0].rules!.map((rule) => rule.name) || []; + console.log(payload); + isSubscribed = true; }