Skip to content
Snippets Groups Projects
Commit 17cde1fd authored by DESKTOP-9FO96TP\hehexd's avatar DESKTOP-9FO96TP\hehexd
Browse files

potential query fix

parent 89bb7b6a
No related branches found
No related tags found
1 merge request!31Follow button
......@@ -23,6 +23,11 @@ export default async function UserFollowers({ params }: { params: { userid: stri
const followers = await db.user.findMany({
where: {
following: {
every: {
followerId: { not: undefined }
}
},
followers: {
every: {
followingId: fullUser?.id
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment