Skip to content

Commit fdee538

Browse files
authored
refactor: add id to login response
2 parents db78344 + e763094 commit fdee538

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

art-gallery/app/controllers/auth.controller.js

+1
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ const login = async (req, res) => {
8585
name: user.name,
8686
email: user.email,
8787
image: user.image,
88+
id: user.id,
8889
},
8990
});
9091
} catch (e) {

0 commit comments

Comments
 (0)