R
Reactiflux
help-js
✅ – Script – 21-27 Dec 11
3 Messages Not Public
Sign In & Join Server To View
Looking for more? Join the community!
R
Reactiflux
help-js
help-js
proposals
which is an array of objectsproposals
array contain a user idproposals
array, how do I achieve that?| const gig = await Gig.findById(req.gigId)
.populate("proposals")
.then(async (res) => { })
const gig = await Gig.findById(req.gigId).populate({
path: "proposals",
populate: { path: "freelancerId", model: "User" },
});
help-js