From dc4c3745ceb268716e5f6dc61688d18cce101a93 Mon Sep 17 00:00:00 2001 From: Laurent Nguyen Date: Fri, 3 May 2024 11:26:59 +0200 Subject: [PATCH] Fix bug in mongo delete --- src/Explorer/Tabs/DocumentsTabV2/DocumentsTabV2.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Explorer/Tabs/DocumentsTabV2/DocumentsTabV2.tsx b/src/Explorer/Tabs/DocumentsTabV2/DocumentsTabV2.tsx index 52386de89..04f96e32c 100644 --- a/src/Explorer/Tabs/DocumentsTabV2/DocumentsTabV2.tsx +++ b/src/Explorer/Tabs/DocumentsTabV2/DocumentsTabV2.tsx @@ -1343,7 +1343,7 @@ const DocumentsTabComponent: React.FunctionComponent<{ return Promise.all(promises); }; - const __deleteDocument = async (documentId: DocumentId): Promise => { + const __deleteDocument = async (documentId: DocumentId): Promise => { await MongoProxyClient.deleteDocument(_collection.databaseId, _collection as ViewModels.Collection, documentId); return documentId; };