mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-02-25 18:55:32 -06:00
Fix total video file size
This commit is contained in:
@@ -68,12 +68,8 @@ async function deleteVideoLatestSourceFile (req: express.Request, res: express.R
|
||||
await video.removeOriginalFile(videoSource)
|
||||
|
||||
videoSource.keptOriginalFilename = null
|
||||
videoSource.fps = null
|
||||
videoSource.resolution = null
|
||||
videoSource.width = null
|
||||
videoSource.height = null
|
||||
videoSource.metadata = null
|
||||
videoSource.size = null
|
||||
videoSource.storage = null
|
||||
|
||||
await videoSource.save()
|
||||
|
||||
return res.sendStatus(HttpStatusCode.NO_CONTENT_204)
|
||||
|
||||
Reference in New Issue
Block a user