diff options
Diffstat (limited to 'server/controllers/api/search/search-videos.ts')
-rw-r--r-- | server/controllers/api/search/search-videos.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/controllers/api/search/search-videos.ts b/server/controllers/api/search/search-videos.ts index 1d7a7b7bc..034a63ace 100644 --- a/server/controllers/api/search/search-videos.ts +++ b/server/controllers/api/search/search-videos.ts | |||
@@ -8,7 +8,6 @@ import { getOrCreateAPVideo } from '@server/lib/activitypub/videos' | |||
8 | import { Hooks } from '@server/lib/plugins/hooks' | 8 | import { Hooks } from '@server/lib/plugins/hooks' |
9 | import { buildMutedForSearchIndex, isSearchIndexSearch, isURISearch } from '@server/lib/search' | 9 | import { buildMutedForSearchIndex, isSearchIndexSearch, isURISearch } from '@server/lib/search' |
10 | import { getServerActor } from '@server/models/application/application' | 10 | import { getServerActor } from '@server/models/application/application' |
11 | import { guessAdditionalAttributesFromQuery } from '@server/models/video/formatter/video-format-utils' | ||
12 | import { HttpStatusCode, ResultList, Video } from '@shared/models' | 11 | import { HttpStatusCode, ResultList, Video } from '@shared/models' |
13 | import { VideosSearchQueryAfterSanitize } from '../../../../shared/models/search' | 12 | import { VideosSearchQueryAfterSanitize } from '../../../../shared/models/search' |
14 | import { buildNSFWFilter, isUserAbleToSearchRemoteURI } from '../../../helpers/express-utils' | 13 | import { buildNSFWFilter, isUserAbleToSearchRemoteURI } from '../../../helpers/express-utils' |
@@ -25,6 +24,7 @@ import { | |||
25 | videosSearchSortValidator, | 24 | videosSearchSortValidator, |
26 | videosSearchValidator | 25 | videosSearchValidator |
27 | } from '../../../middlewares' | 26 | } from '../../../middlewares' |
27 | import { guessAdditionalAttributesFromQuery } from '../../../models/video/formatter' | ||
28 | import { VideoModel } from '../../../models/video/video' | 28 | import { VideoModel } from '../../../models/video/video' |
29 | import { MVideoAccountLightBlacklistAllFiles } from '../../../types/models' | 29 | import { MVideoAccountLightBlacklistAllFiles } from '../../../types/models' |
30 | import { searchLocalUrl } from './shared' | 30 | import { searchLocalUrl } from './shared' |