From dc7b29431c713d6803a77cf1819fe238480dcb41 Mon Sep 17 00:00:00 2001 From: Yassine R Date: Mon, 30 Aug 2021 15:18:08 +0200 Subject: [PATCH] fix: add log to track the bug --- packages/backend/src/auth/auth.service.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/backend/src/auth/auth.service.ts b/packages/backend/src/auth/auth.service.ts index 1d916ba30c..8ada9631bf 100644 --- a/packages/backend/src/auth/auth.service.ts +++ b/packages/backend/src/auth/auth.service.ts @@ -77,6 +77,8 @@ export class AuthService { select: APP_USER_PUBLIC_ATTRIBUTES, }); + appLogger.debug("[TRACK BUG] " + JSON.stringify(user)); + const structure: StructureCommon = await structureCommonRepository.findOne({ id: user.structureId, });