Skip to content

Commit

Permalink
fix: blurting userid 0 when deleted user
Browse files Browse the repository at this point in the history
  • Loading branch information
kyeahxx19 committed Dec 10, 2023
1 parent bf095cc commit a66abe5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dtos/blurtingPage.dto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export class BlurtingAnswerDto {
): BlurtingAnswerDto {
return {
id: answerEntity.id,
userId: user?.id ?? null,
userId: user?.id ?? 0,
userNickname: user?.userNickname ?? '탈퇴한 사용자',
userSex: user?.userInfo?.sex ?? Sex.Female,
answer: answerEntity.answer,
Expand Down

0 comments on commit a66abe5

Please sign in to comment.