From 074de0cc0274ca1194b87e1091c43f52b216c63a Mon Sep 17 00:00:00 2001 From: Jakob Ackermann Date: Mon, 5 Aug 2024 12:04:18 +0200 Subject: [PATCH] Merge pull request #19790 from overleaf/jpa-silence-missing [project-history] silence warning due to missing web hash GitOrigin-RevId: 04ff878c1b356333ff9d515af6a5cba8b31a1ff2 --- services/project-history/app/js/HistoryStoreManager.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/project-history/app/js/HistoryStoreManager.js b/services/project-history/app/js/HistoryStoreManager.js index 7c74538592..2960e3c8b9 100644 --- a/services/project-history/app/js/HistoryStoreManager.js +++ b/services/project-history/app/js/HistoryStoreManager.js @@ -317,7 +317,7 @@ export function createBlobForUpdate(projectId, historyId, update, callback) { if (err) { return callback(err) } - if (update.hash !== fileHash) { + if (update.hash && update.hash !== fileHash) { logger.warn( { projectId, fileId, webHash: update.hash, fileHash }, 'hash mismatch between web and project-history'