issues
search
ManPhamQuang
/
COSC2769-rmit
Further web programming - COSC2769
cosc-2769-rmit.vercel.app
MIT License
0
stars
0
forks
source link
Add/response include user data
#38
Closed
dangvuthang
closed
3 years ago
dangvuthang
commented
3 years ago
Changelog
Change user model to manually set
ratingsAverage
and
ratingsQuantity
when user first created
Extract data from mongoose return obj to only return user
name, email, avatar, and role
Changelog
ratingsAverage
andratingsQuantity
when user first createdname, email, avatar, and role