From afbc7915c0edb801ae3ad2284a30aed8b397dd6c Mon Sep 17 00:00:00 2001 From: k1g99 Date: Mon, 20 May 2024 08:36:17 +0000 Subject: [PATCH] chore: remove deletepinfromcache --- apps/backend/apps/client/src/user/user.service.ts | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/apps/backend/apps/client/src/user/user.service.ts b/apps/backend/apps/client/src/user/user.service.ts index 57b881c0a0..8c758a2f22 100644 --- a/apps/backend/apps/client/src/user/user.service.ts +++ b/apps/backend/apps/client/src/user/user.service.ts @@ -346,13 +346,13 @@ export class UserService { this.logger.debug('signUp - fail (invalid password)') throw new UnprocessableDataException('Bad password') } - try { - await this.deletePinFromCache( - emailAuthenticationPinCacheKey(newSignUpDto.email) // 캐시 접근까지 테스트 로직에 포함하기 위함 - ) - } catch (e) { - // pass - } + // try { + // await this.deletePinFromCache( + // emailAuthenticationPinCacheKey(newSignUpDto.email) // 캐시 접근까지 테스트 로직에 포함하기 위함 + // ) + // } catch (e) { + // // pass + // } return await this.initializeUser(newSignUpDto) }