mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-03 09:49:20 +02:00
Convert video short uuid to uuid
This commit is contained in:
parent
3f4c267ec9
commit
56b8bff325
7 changed files with 34 additions and 49 deletions
|
@ -1,8 +1,8 @@
|
|||
import 'multer'
|
||||
import { isShortUUID, shortToUUID } from '@peertube/peertube-node-utils'
|
||||
import { UploadFilesForCheck } from 'express'
|
||||
import 'multer'
|
||||
import { sep } from 'path'
|
||||
import validator from 'validator'
|
||||
import { isShortUUID, shortToUUID } from '@peertube/peertube-node-utils'
|
||||
|
||||
export function exists (value: any) {
|
||||
return value !== undefined && value !== null
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue