fix migration, closes #4262

This commit is contained in:
zadam
2023-09-18 23:45:00 +02:00
parent 4a67f63abd
commit 8075265753
3 changed files with 12 additions and 8 deletions

View File

@@ -25,6 +25,10 @@ function md5(content) {
}
function hashedBlobId(content) {
if (content === null || content === undefined) {
content = "";
}
// sha512 is faster than sha256
const base64Hash = crypto.createHash('sha512').update(content).digest('base64');