]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/controllers/api/videos/update.ts
Prepare changelog
[github/Chocobozzz/PeerTube.git] / server / controllers / api / videos / update.ts
index a0aa13d71cd87d4d0070a71496709be0b7cddefc..de5d94d5524132d12790071caec97c550bb7541a 100644 (file)
@@ -51,7 +51,7 @@ export {
 
 // ---------------------------------------------------------------------------
 
-export async function updateVideo (req: express.Request, res: express.Response) {
+async function updateVideo (req: express.Request, res: express.Response) {
   const videoFromReq = res.locals.videoAll
   const videoFieldsSave = videoFromReq.toJSON()
   const oldVideoAuditView = new VideoAuditView(videoFromReq.toFormattedDetailsJSON())