diff options
Diffstat (limited to 'server/controllers')
-rw-r--r-- | server/controllers/api/search.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/controllers/api/search.ts b/server/controllers/api/search.ts index 2d98b5d34..6e2d11d93 100644 --- a/server/controllers/api/search.ts +++ b/server/controllers/api/search.ts | |||
@@ -22,7 +22,7 @@ import { | |||
22 | setDefaultPagination, | 22 | setDefaultPagination, |
23 | setDefaultSearchSort, | 23 | setDefaultSearchSort, |
24 | videoChannelsSearchSortValidator, | 24 | videoChannelsSearchSortValidator, |
25 | videoChannelsSearchValidator, | 25 | videoChannelsListSearchValidator, |
26 | videosSearchSortValidator, | 26 | videosSearchSortValidator, |
27 | videosSearchValidator | 27 | videosSearchValidator |
28 | } from '../../middlewares' | 28 | } from '../../middlewares' |
@@ -49,7 +49,7 @@ searchRouter.get('/video-channels', | |||
49 | videoChannelsSearchSortValidator, | 49 | videoChannelsSearchSortValidator, |
50 | setDefaultSearchSort, | 50 | setDefaultSearchSort, |
51 | optionalAuthenticate, | 51 | optionalAuthenticate, |
52 | videoChannelsSearchValidator, | 52 | videoChannelsListSearchValidator, |
53 | asyncMiddleware(searchVideoChannels) | 53 | asyncMiddleware(searchVideoChannels) |
54 | ) | 54 | ) |
55 | 55 | ||