Fix: consistent hash of uploads
This commit is contained in:
parent
c114e59be3
commit
a639b85734
|
@ -142,7 +142,7 @@ class Util {
|
|||
}
|
||||
|
||||
static generateFileHash(data) {
|
||||
const hash = crypto.createHash('sha1').update(data).digest('hex');
|
||||
const hash = crypto.createHash('md5').update(data).digest('hex');
|
||||
return hash;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue