Skip to content

Commit

Permalink
return license path with profile
Browse files Browse the repository at this point in the history
  • Loading branch information
Bouchemel-Nasreddine committed Jan 2, 2024
1 parent acc1171 commit 469ea2c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/controllers/profileController.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ const getProfileController = async (req, res) => {
type: license.type,
number: license.number,
expirationDate: license.validUntil.toISOString().split('T')[0],
deliveryDate: license.deliveredAt.toISOString().split('T')[0]
deliveryDate: license.deliveredAt.toISOString().split('T')[0],
file: license.file,
},
avatar: user.avatar,
profileVerified: user.profileVerified,
Expand Down

0 comments on commit 469ea2c

Please sign in to comment.