From bb8272158284ea4f5728fc9c7a506210e58d9568 Mon Sep 17 00:00:00 2001 From: peageon Date: Wed, 13 Dec 2023 11:48:08 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EC=9C=A0=EC=A0=80=EA=B0=80=20=EC=9E=90?= =?UTF-8?q?=EA=B8=B0=20=EC=9E=90=EC=8B=A0=20visit=ED=96=88=EC=9D=84?= =?UTF-8?q?=EB=95=8C=20=EB=B9=84=EA=B3=B5=EA=B0=9C=20=EB=A9=94=EC=8B=9C?= =?UTF-8?q?=EC=A7=80=EB=8F=84=20=EB=B3=B4=EC=9D=B4=EB=8F=84=EB=A1=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- back/src/modules/user/user.controller.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/back/src/modules/user/user.controller.ts b/back/src/modules/user/user.controller.ts index 5c7495b..e5e6c90 100644 --- a/back/src/modules/user/user.controller.ts +++ b/back/src/modules/user/user.controller.ts @@ -61,7 +61,7 @@ export class UserController { const userData = await this.userService.getUserData(auth_id); const result = this.userService.createUserInfo( userData, - false, + req.hasToken, !req.user ? 0 : req.user.id ); return result;