aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/helpers/uuid.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-08-27 14:32:44 +0200
committerChocobozzz <me@florianbigard.com>2021-08-27 15:12:22 +0200
commit41fb13c330de629df2d23379209e79c7af0f2e9a (patch)
tree73bc5a90566406b3910f142beae2a879c1e4265d /server/helpers/uuid.ts
parent40e7ed0714f96c01e16de3ac971a4b28116294e1 (diff)
downloadPeerTube-41fb13c330de629df2d23379209e79c7af0f2e9a.tar.gz
PeerTube-41fb13c330de629df2d23379209e79c7af0f2e9a.tar.zst
PeerTube-41fb13c330de629df2d23379209e79c7af0f2e9a.zip
esModuleInterop to true
Diffstat (limited to 'server/helpers/uuid.ts')
-rw-r--r--server/helpers/uuid.ts4
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 @@
1import * as short from 'short-uuid' 1import short, { uuid } from 'short-uuid'
2 2
3const translator = short() 3const translator = short()
4 4
5function buildUUID () { 5function buildUUID () {
6 return short.uuid() 6 return uuid()
7} 7}
8 8
9function uuidToShort (uuid: string) { 9function uuidToShort (uuid: string) {