mirror of
https://github.com/directus/directus.git
synced 2026-01-26 14:58:30 -05:00
@@ -9,5 +9,5 @@ export function simpleHash(str: string) {
|
||||
hash = 31 * hash + str.charCodeAt(i++);
|
||||
}
|
||||
|
||||
return hash.toString(16);
|
||||
return Math.abs(hash).toString(16);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user