From 074eabbce65763336547a53ce40ac95d00970795 Mon Sep 17 00:00:00 2001 From: Ruslan Bayandinov <45530296+wazsone@users.noreply.github.com> Date: Tue, 15 Nov 2022 14:24:49 +0600 Subject: [PATCH] Fix mongo operator (#2380) Signed-off-by: Ruslan Bayandinov --- server/account/src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()