diff options
Diffstat (limited to 'server/helpers/uuid.ts')
-rw-r--r-- | server/helpers/uuid.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/helpers/uuid.ts b/server/helpers/uuid.ts index 3eb06c773..f3c80e046 100644 --- a/server/helpers/uuid.ts +++ b/server/helpers/uuid.ts | |||
@@ -1,9 +1,9 @@ | |||
1 | import * as short from 'short-uuid' | 1 | import short, { uuid } from 'short-uuid' |
2 | 2 | ||
3 | const translator = short() | 3 | const translator = short() |
4 | 4 | ||
5 | function buildUUID () { | 5 | function buildUUID () { |
6 | return short.uuid() | 6 | return uuid() |
7 | } | 7 | } |
8 | 8 | ||
9 | function uuidToShort (uuid: string) { | 9 | function uuidToShort (uuid: string) { |