fixed file hash generation converting id to string
gitea/salix/test This commit looks good Details

This commit is contained in:
Joan Sanchez 2019-07-11 08:17:32 +02:00
parent f79b638e49
commit 380d9a9ce8
1 changed files with 1 additions and 1 deletions

View File

@ -13,6 +13,6 @@ module.exports = app => {
};
storageConnector.getPathHash = function(id) {
return md5(id).substring(0, 3);
return md5(id.toString()).substring(0, 3);
};
};