Skip to content

Commit

Permalink
temp/getsinglethreadcomment now returns isOwner property
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastian-Webster committed Oct 12, 2023
1 parent 588be14 commit c6b0967
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion controllers/Temp.js
Original file line number Diff line number Diff line change
Expand Up @@ -3773,7 +3773,8 @@ class TempController {
datePosted: commentdatePosted,
profileImageKey: creator.profileImageKey,
commentUpVoted: commentUpVoted,
commentDownVoted: commentDownVoted
commentDownVoted: commentDownVoted,
isOwner: String(comment.commenterId) === String(userId)
})
sendResponse(nameSendBackObject)
}).catch(error => {
Expand Down

0 comments on commit c6b0967

Please sign in to comment.