Fix linting errors

This commit is contained in:
theit8514
2021-12-23 23:26:05 -05:00
parent 8f77f720e6
commit fd93c6d338
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ import { sha256 } from "js-sha256";
* @returns The SHA-256 hash in hex
*/
export function computeHash(message: string): string {
var hash = sha256.create();
const hash = sha256.create();
hash.update(message);
return hash.hex();
}