mirror of
https://github.com/umami-software/umami.git
synced 2025-12-08 05:12:36 +01:00
Fix crypto errors.
This commit is contained in:
parent
5f07cecc95
commit
efb52f5ff1
2 changed files with 3 additions and 3 deletions
|
|
@ -15,5 +15,5 @@ export function salt() {
|
|||
export function uuid(...args) {
|
||||
if (!args.length) return v4();
|
||||
|
||||
return v5(args.join(''), salt());
|
||||
return v5(hash([...args, salt()]), v5.DNS);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue