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

This commit is contained in:
Joan Sanchez 2019-07-11 08:17:32 +02:00
parent d0e2b6f90a
commit daae159b67
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);
};
};