diff --git a/account/src/lib/couch-db.ts b/account/src/lib/couch-db.ts index 2fac2b4..fd7efd6 100644 --- a/account/src/lib/couch-db.ts +++ b/account/src/lib/couch-db.ts @@ -59,7 +59,7 @@ export async function getLingdocsUser( export async function getAllLingdocsUsers(): Promise { const users = await usersDb.find({ - selector: { userId: { $exists: true } }, + selector: { feedback: { $exists: true } }, limit: 5000, }); return users.docs as T.LingdocsUser[];