Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
hieutbui committed Jul 20, 2023
1 parent d0dbe94 commit ac3e244
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/controllers/users.js
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ const getUserInfo = async (req, res) => {
const userInfo = await repositories.users.getUserInfo({ userId });
return res.status(HttpStatusCode.OK).json({
result: 'ok',
dat: userInfo,
data: userInfo,
});
} catch (error) {
return res.status(HttpStatusCode.INTERNAL_SERVER_ERROR).json({
Expand Down

0 comments on commit ac3e244

Please sign in to comment.