aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/controllers/api/videos/index.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/controllers/api/videos/index.ts')
-rw-r--r--server/controllers/api/videos/index.ts5
1 files changed, 3 insertions, 2 deletions
diff --git a/server/controllers/api/videos/index.ts b/server/controllers/api/videos/index.ts
index 8c9b0aa50..0d114dcd2 100644
--- a/server/controllers/api/videos/index.ts
+++ b/server/controllers/api/videos/index.ts
@@ -3,7 +3,6 @@ import * as multer from 'multer'
3import { extname, join } from 'path' 3import { extname, join } from 'path'
4import { VideoCreate, VideoPrivacy, VideoUpdate } from '../../../../shared' 4import { VideoCreate, VideoPrivacy, VideoUpdate } from '../../../../shared'
5import { 5import {
6 fetchRemoteVideoDescription,
7 generateRandomString, 6 generateRandomString,
8 getFormattedObjects, 7 getFormattedObjects,
9 getVideoFileHeight, 8 getVideoFileHeight,
@@ -12,7 +11,6 @@ import {
12 resetSequelizeInstance, 11 resetSequelizeInstance,
13 retryTransactionWrapper 12 retryTransactionWrapper
14} from '../../../helpers' 13} from '../../../helpers'
15import { getVideoActivityPubUrl, shareVideoByServer } from '../../../helpers/activitypub'
16import { CONFIG, VIDEO_CATEGORIES, VIDEO_LANGUAGES, VIDEO_LICENCES, VIDEO_MIMETYPE_EXT, VIDEO_PRIVACIES } from '../../../initializers' 14import { CONFIG, VIDEO_CATEGORIES, VIDEO_LANGUAGES, VIDEO_LICENCES, VIDEO_MIMETYPE_EXT, VIDEO_PRIVACIES } from '../../../initializers'
17import { database as db } from '../../../initializers/database' 15import { database as db } from '../../../initializers/database'
18import { sendAddVideo } from '../../../lib/activitypub/send/send-add' 16import { sendAddVideo } from '../../../lib/activitypub/send/send-add'
@@ -37,6 +35,9 @@ import { abuseVideoRouter } from './abuse'
37import { blacklistRouter } from './blacklist' 35import { blacklistRouter } from './blacklist'
38import { videoChannelRouter } from './channel' 36import { videoChannelRouter } from './channel'
39import { rateVideoRouter } from './rate' 37import { rateVideoRouter } from './rate'
38import { getVideoActivityPubUrl } from '../../../lib/activitypub/url'
39import { shareVideoByServer } from '../../../lib/activitypub/share'
40import { fetchRemoteVideoDescription } from '../../../lib/activitypub/videos'
40 41
41const videosRouter = express.Router() 42const videosRouter = express.Router()
42 43