Skip to content

Commit ad2d42d

Browse files
committed
Update db.js
1 parent 3d4692c commit ad2d42d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

db.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,8 @@ export async function findUsers({ fid, profile, intent }, limit = 50) {
122122
FROM users
123123
WHERE fid != ?
124124
AND fid != ALL(?)
125+
AND is_active = 1
126+
AND is_banned = 0
125127
AND openrank > 95
126128
ORDER BY similarity DESC
127129
LIMIT ?`,

0 commit comments

Comments
 (0)