From ac3e244ec2daefd262c605afbe86c79794a08910 Mon Sep 17 00:00:00 2001 From: hieubt Date: Thu, 20 Jul 2023 11:07:13 +0700 Subject: [PATCH] update --- src/controllers/users.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controllers/users.js b/src/controllers/users.js index a0db4b2..7aa743a 100644 --- a/src/controllers/users.js +++ b/src/controllers/users.js @@ -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({