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:
parent
225a7682e6
commit
7b3909644d
7 changed files with 77 additions and 10 deletions
|
@ -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)
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue