aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/controllers
diff options
context:
space:
mode:
authorRigel Kent <sendmemail@rigelk.eu>2020-07-27 17:00:39 +0200
committerRigel Kent <par@rigelk.eu>2020-07-29 18:15:53 +0200
commit7b3909644dd7cb8be1caad537bb40605e5f059d4 (patch)
tree499d23362c0532cd689624a35b98d8f51ba73ed4 /server/controllers
parent225a7682e68d81c3c90ff50e704db4ab5f81a341 (diff)
downloadPeerTube-7b3909644dd7cb8be1caad537bb40605e5f059d4.tar.gz
PeerTube-7b3909644dd7cb8be1caad537bb40605e5f059d4.tar.zst
PeerTube-7b3909644dd7cb8be1caad537bb40605e5f059d4.zip
test search for subscriptions and video-channels
Diffstat (limited to 'server/controllers')
-rw-r--r--server/controllers/api/search.ts4
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