Skip to content

Commit

Permalink
chore: remove deletepinfromcache
Browse files Browse the repository at this point in the history
  • Loading branch information
k1g99 committed May 20, 2024
1 parent 147fb57 commit afbc791
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions apps/backend/apps/client/src/user/user.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit afbc791

Please sign in to comment.