remove context

This commit is contained in:
riley
2017-05-16 16:34:04 -06:00
parent 03ce044c53
commit d081c0c5b5
5 changed files with 11 additions and 5 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ const User = {
// If the user is not an admin, only return comment list for the owner of
// the comments.
if (user && (user.can('SEARCH_OTHERS_COMMENTS') || user.id === id)) {
if (user && (user.can('SEARCH_OTHERS_COMMENTZ') || user.id === id)) {
return Comments.getByQuery({author_id: id, sort: 'REVERSE_CHRONOLOGICAL'});
}