mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-02 21:59:00 +02:00
Merge pull request #19790 from overleaf/jpa-silence-missing
[project-history] silence warning due to missing web hash GitOrigin-RevId: 04ff878c1b356333ff9d515af6a5cba8b31a1ff2
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user