1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-04 10:19:35 +02:00

Move uuid stuff in extra utils

Since it requires an external dependency
This commit is contained in:
Chocobozzz 2021-12-29 14:44:58 +01:00
parent fb3c9e2bf5
commit 0628157fe9
No known key found for this signature in database
GPG key ID: 583A612D890159BE
30 changed files with 44 additions and 28 deletions

View file

@ -2,7 +2,7 @@ import 'multer'
import { UploadFilesForCheck } from 'express'
import { sep } from 'path'
import validator from 'validator'
import { isShortUUID, shortToUUID } from '@shared/core-utils'
import { isShortUUID, shortToUUID } from '@shared/extra-utils'
function exists (value: any) {
return value !== undefined && value !== null