Skip to content

Commit

Permalink
refactor: add id to login response
Browse files Browse the repository at this point in the history
  • Loading branch information
dk-a-dev authored Feb 8, 2025
2 parents db78344 + e763094 commit fdee538
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions art-gallery/app/controllers/auth.controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ const login = async (req, res) => {
name: user.name,
email: user.email,
image: user.image,
id: user.id,
},
});
} catch (e) {
Expand Down

0 comments on commit fdee538

Please sign in to comment.