From 144dbca02f6ab129482ee62e6a4d6471aa0b73a9 Mon Sep 17 00:00:00 2001 From: tnpfldyd Date: Tue, 12 Dec 2023 14:32:20 +0900 Subject: [PATCH] =?UTF-8?q?fix(#212):=20=EB=B0=A9=EC=97=90=EC=84=9C=20?= =?UTF-8?q?=EC=95=88=EB=82=98=EA=B0=80=EC=A7=80=EB=8A=94=20=EB=B2=84?= =?UTF-8?q?=EA=B7=B8=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nestjs-BE/server/src/profile-space/profile-space.controller.ts | 2 +- .../server/src/temporary-database/temporary-database.service.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/nestjs-BE/server/src/profile-space/profile-space.controller.ts b/nestjs-BE/server/src/profile-space/profile-space.controller.ts index e10e3642..25eb3462 100644 --- a/nestjs-BE/server/src/profile-space/profile-space.controller.ts +++ b/nestjs-BE/server/src/profile-space/profile-space.controller.ts @@ -67,7 +67,7 @@ export class ProfileSpaceController { spaceUuid, profileData, ); - if (isSpaceEmpty) this.spacesService.remove(spaceUuid); + if (isSpaceEmpty) return this.spacesService.remove(spaceUuid); const key = this.profileSpaceService.generateKey(joinData); return this.profileSpaceService.remove(key); } diff --git a/nestjs-BE/server/src/temporary-database/temporary-database.service.ts b/nestjs-BE/server/src/temporary-database/temporary-database.service.ts index 4330e949..c607966d 100644 --- a/nestjs-BE/server/src/temporary-database/temporary-database.service.ts +++ b/nestjs-BE/server/src/temporary-database/temporary-database.service.ts @@ -17,7 +17,7 @@ const { CSV_FOLDER } = costomEnv; type DeleteDataType = { field: string; - value: string; + value: string | Record; }; export type InsertDataType =