From 2e0db5cfea9837cd53c9f14bdb01627bef8765b9 Mon Sep 17 00:00:00 2001 From: Maha Benzekri Date: Thu, 28 Nov 2024 16:01:48 +0100 Subject: [PATCH] fixup post mongo bump --- lib/storage/metadata/mongoclient/MongoClientInterface.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/storage/metadata/mongoclient/MongoClientInterface.js b/lib/storage/metadata/mongoclient/MongoClientInterface.js index 6743b5e28..18dfb0675 100644 --- a/lib/storage/metadata/mongoclient/MongoClientInterface.js +++ b/lib/storage/metadata/mongoclient/MongoClientInterface.js @@ -479,7 +479,7 @@ class MongoClientInterface { const m = this.getCollection(METASTORE); m.findOneAndDelete({ _id: bucketName, - }, {}) + } , {includeResultMetadata: true}, {}) .then(result => { if (result.ok !== 1) { log.error('deleteBucketStep2: failed deleting bucket');