fix eslint-errors

This commit is contained in:
Michael C
2021-07-04 01:34:31 -04:00
parent a1bcd08658
commit d89b26b77d
71 changed files with 392 additions and 393 deletions

View File

@@ -5,7 +5,7 @@ export function getHash<T extends string>(value: T, times = 5000): T & HashedVal
if (times <= 0) return "" as T & HashedValue;
for (let i = 0; i < times; i++) {
let hashCreator = crypto.createHash('sha256');
const hashCreator = crypto.createHash('sha256');
value = hashCreator.update(value).digest('hex') as T;
}