Skip to content

Commit

Permalink
fix: fix response structure
Browse files Browse the repository at this point in the history
  • Loading branch information
seohyun-106 authored Jan 14, 2022
1 parent 2023d24 commit ce70cef
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/controller/user.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,15 +68,15 @@ const patchImgController = async (req: Request, res: Response) => {
false,
"잘못된 폼 데이터입니다."
);
}

// 모두 성공시
response.basicResponse(
} else {
// 모두 성공시
response.basicResponse(
res,
returnCode.OK,
true,
"프로필 이미지 변경 완료."
);
);
}
} catch (err) {
slack.slackWebhook(req, err.message);
console.error(err.message);
Expand Down

0 comments on commit ce70cef

Please sign in to comment.