mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2025-12-19 08:51:24 +00:00
Fix build issue
This commit is contained in:
@@ -1338,7 +1338,7 @@ const DocumentsTabComponent: React.FunctionComponent<{
|
|||||||
* Mongo implementation
|
* Mongo implementation
|
||||||
* TODO: update proxy to use mongo driver deleteMany
|
* TODO: update proxy to use mongo driver deleteMany
|
||||||
*/
|
*/
|
||||||
_deleteDocuments = (toDeleteDocumentIds: DocumentId[]): Promise<Document[]> => {
|
_deleteDocuments = (toDeleteDocumentIds: DocumentId[]): Promise<DocumentId[]> => {
|
||||||
const promises = toDeleteDocumentIds.map((documentId) => _deleteDocument(documentId));
|
const promises = toDeleteDocumentIds.map((documentId) => _deleteDocument(documentId));
|
||||||
return Promise.all(promises);
|
return Promise.all(promises);
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user