1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-05 19:42:24 +02:00

test search for subscriptions and video-channels

This commit is contained in:
Rigel Kent 2020-07-27 17:00:39 +02:00 committed by Rigel Kent
parent 225a7682e6
commit 7b3909644d
7 changed files with 77 additions and 10 deletions

View file

@ -22,7 +22,7 @@ import {
setDefaultPagination,
setDefaultSearchSort,
videoChannelsSearchSortValidator,
videoChannelsSearchValidator,
videoChannelsListSearchValidator,
videosSearchSortValidator,
videosSearchValidator
} from '../../middlewares'
@ -49,7 +49,7 @@ searchRouter.get('/video-channels',
videoChannelsSearchSortValidator,
setDefaultSearchSort,
optionalAuthenticate,
videoChannelsSearchValidator,
videoChannelsListSearchValidator,
asyncMiddleware(searchVideoChannels)
)