Skip to content

Commit

Permalink
fixed likedby image issue
Browse files Browse the repository at this point in the history
  • Loading branch information
prayanshchh committed Sep 3, 2024
1 parent 164fe8a commit d85440b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/resolvers/Organization/posts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ export const posts: OrganizationResolvers["posts"] = async (
.sort(sort)
.limit(parsedArgs.limit)
.populate({
path: 'likedBy',
select: 'image'
path: "likedBy",
select: "image",
})
.lean()
.exec(),
Expand Down

0 comments on commit d85440b

Please sign in to comment.