comment
This commit is contained in:
parent
464e29b465
commit
b8838a303b
@ -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
BIN
tmp/tmp-1-1659073689697
Normal file
Binary file not shown.
After Width: | Height: | Size: 46 KiB |
Loading…
Reference in New Issue
Block a user