This commit is contained in:
pawan-dot 2022-07-29 11:26:01 +05:30
parent 464e29b465
commit b8838a303b
2 changed files with 1 additions and 1 deletions

View File

@ -260,7 +260,7 @@ export const AddComment = async (req, res) => {
export const getAllComment = async (req, res) => {
try {
const comment = await RequirementCommentModel.find()
const comment = await RequirementCommentModel.find().populate('userId')
res.status(200).json({
success: true,
msg: " get All Comment Successfully!!",

BIN
tmp/tmp-1-1659073689697 Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB