]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/helpers/upload.ts
Don't use min FPS, throw instead
[github/Chocobozzz/PeerTube.git] / server / helpers / upload.ts
index 030a6b7d547e48ea99e44fd3eaf9eea6cd4dc6d4..3cb17edd0aeaafeea1eb5dc369e787326fb2d92f 100644 (file)
@@ -1,5 +1,3 @@
-import { METAFILE_EXTNAME } from '@uploadx/core'
-import { remove } from 'fs-extra'
 import { join } from 'path'
 import { RESUMABLE_UPLOAD_DIRECTORY } from '../initializers/constants'
 
@@ -9,13 +7,8 @@ function getResumableUploadPath (filename?: string) {
   return RESUMABLE_UPLOAD_DIRECTORY
 }
 
-function deleteResumableUploadMetaFile (filepath: string) {
-  return remove(filepath + METAFILE_EXTNAME)
-}
-
 // ---------------------------------------------------------------------------
 
 export {
-  getResumableUploadPath,
-  deleteResumableUploadMetaFile
+  getResumableUploadPath
 }