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:
parent
fb3c9e2bf5
commit
0628157fe9
30 changed files with 44 additions and 28 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue