]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/middlewares/validators/shared/video-captions.ts
Fix video right check
[github/Chocobozzz/PeerTube.git] / server / middlewares / validators / shared / video-captions.ts
index 80f6c5a5246a1af7094c4914885b4999a2df8fd1..831b366eaed9539efdf0582a116ffaf3c125a56a 100644 (file)
@@ -1,7 +1,7 @@
 import { Response } from 'express'
 import { VideoCaptionModel } from '@server/models/video/video-caption'
 import { MVideoId } from '@server/types/models'
-import { HttpStatusCode } from '@shared/core-utils'
+import { HttpStatusCode } from '@shared/models'
 
 async function doesVideoCaptionExist (video: MVideoId, language: string, res: Response) {
   const videoCaption = await VideoCaptionModel.loadByVideoIdAndLanguage(video.id, language)