Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Zaid-maker committed Dec 18, 2023
1 parent d68d372 commit 2633ab3
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions lib/follow-service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@ export const getFollowedUsers = async () => {
const followedUsers = db.follow.findMany({
where: {
followerId: self.id,
following: {
blocking: {
none: {
blockedId: self.id,
},
},
},
},
include: {
following: true,
Expand Down

0 comments on commit 2633ab3

Please sign in to comment.