Skip to content

Commit

Permalink
Merge pull request #41 from Team-O2/feat/#22
Browse files Browse the repository at this point in the history
[fix] 회원정보 수정 response에 data 속성값 추가
  • Loading branch information
xxeol2 authored Sep 24, 2021
2 parents a615916 + 036c11d commit 7d4c5dc
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion src/service/userService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1064,7 +1064,16 @@ const patchUserInfo = async (
await Badge.update({ marketingBadge: true }, { where: { id: userID } });
}

return;
const resData: userDTO.userInfoResDTO = {
interest: interest.split(","),
isMarketing,
img: url.img,
id: userID,
email: user.email,
nickname
}

return resData;
};

const userService = {
Expand Down

0 comments on commit 7d4c5dc

Please sign in to comment.