]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - shared/extra-utils/videos/video-channels.ts
Update plugin guides toc
[github/Chocobozzz/PeerTube.git] / shared / extra-utils / videos / video-channels.ts
index 55f08b996e479fb46d9fd95b9bad5038e6d3de31..97b68178f5b1f503852651dd9cbb5ff965ce5393 100644 (file)
@@ -32,8 +32,9 @@ function getAccountVideoChannelsList (parameters: {
   sort?: string
   specialStatus?: number
   withStats?: boolean
+  search?: string
 }) {
-  const { url, accountName, start, count, sort = 'createdAt', specialStatus = 200, withStats = false } = parameters
+  const { url, accountName, start, count, sort = 'createdAt', specialStatus = 200, withStats = false, search } = parameters
 
   const path = '/api/v1/accounts/' + accountName + '/video-channels'
 
@@ -44,7 +45,8 @@ function getAccountVideoChannelsList (parameters: {
       start,
       count,
       sort,
-      withStats
+      withStats,
+      search
     },
     statusCodeExpected: specialStatus
   })