diff --git a/server/account/src/index.ts b/server/account/src/index.ts index dba7b47168..eb7b614ec1 100644 --- a/server/account/src/index.ts +++ b/server/account/src/index.ts @@ -340,7 +340,7 @@ export async function listWorkspaces (db: Db, productId: string): Promise(WORKSPACE_COLLECTION) - .find({ productId: { $exits: false } }) + .find({ productId: { $exists: false } }) .toArray() } return await db.collection(WORKSPACE_COLLECTION).find({ productId }).toArray()