Fixed realtime chart display.
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import crypto from 'crypto';
|
||||
import { v4, v5 } from 'uuid';
|
||||
import { startOfMonth } from 'date-fns';
|
||||
import { hash } from 'next-basics';
|
||||
@@ -17,3 +18,7 @@ export function uuid(...args) {
|
||||
|
||||
return v5(hash(...args, salt()), v5.DNS);
|
||||
}
|
||||
|
||||
export function md5(...args) {
|
||||
return crypto.createHash('md5').update(args.join('')).digest('hex');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user