Skip to content

Commit

Permalink
temp/searchforthreadcommentreplies 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 c6b0967 commit b1410f8
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 @@ -3865,7 +3865,8 @@ class TempController {
datePosted: comment.datePosted,
profileImageKey: commentCreator.profileImageKey,
commentUpVoted: commentUpVoted,
commentDownVoted: commentDownVoted
commentDownVoted: commentDownVoted,
isOwner: String(comment.commenterId) === String(userId)
})
}
})
Expand Down

0 comments on commit b1410f8

Please sign in to comment.