diff --git a/controllers/Temp.js b/controllers/Temp.js index 056085e3..9671d1ef 100644 --- a/controllers/Temp.js +++ b/controllers/Temp.js @@ -842,6 +842,7 @@ class TempController { const modifiedNameSendBackObject = nameSendBackObject.map(item => { item.commentId = String(item.commentId) item.commenterId = String(item.commenterId) + item.isOwner = String(userId) === String(item.commenterId) return item }) return resolve(HTTPWTHandler.OK('Comment search successful', modifiedNameSendBackObject))