Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Merge branch 'release/4.0.0' into develop

Chocobozzzc3edc5b074aa
diff --cc server/middlewares/validators/videos/video-captions.ts
index 47c491b4c5,4fc4c8ec5f..a399871e19
--- a/server/middlewares/validators/videos/video-captions.ts
+++ b/server/middlewares/validators/videos/video-captions.ts
@@@ -1,6 -1,6 +1,6 @@@
import express from 'express'
import { body, param } from 'express-validator'
- import { UserRight } from '@shared/models'
-import { HttpStatusCode, UserRight } from '../../../../shared'
++import { HttpStatusCode, UserRight } from '@shared/models'
import { isVideoCaptionFile, isVideoCaptionLanguageValid } from '../../../helpers/custom-validators/video-captions'
import { cleanUpReqFiles } from '../../../helpers/express-utils'
import { logger } from '../../../helpers/logger'
diff --cc server/tests/api/check-params/video-captions.ts
index 8a88407936,84c6c1355c..9881df80cd
--- a/server/tests/api/check-params/video-captions.ts
+++ b/server/tests/api/check-params/video-captions.ts
@@@ -1,9 -1,8 +1,9 @@@
/* eslint-disable @typescript-eslint/no-unused-expressions,@typescript-eslint/require-await */
import 'mocha'
+import { buildAbsoluteFixturePath } from '@shared/core-utils'
- import { HttpStatusCode, VideoCreateResult } from '@shared/models'
++import { HttpStatusCode, VideoCreateResult, VideoPrivacy } from '@shared/models'
import {
- buildAbsoluteFixturePath,
cleanupTests,
createSingleServer,
makeDeleteRequest,