mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-03 17:59:37 +02:00
Add channel collaborators feature
This commit is contained in:
parent
94e55dfc6c
commit
135d5c7363
185 changed files with 5457 additions and 2631 deletions
|
@ -39,6 +39,7 @@ export class ChannelsCommand extends AbstractCommand {
|
|||
sort?: string
|
||||
withStats?: boolean
|
||||
search?: string
|
||||
includeCollaborations?: boolean
|
||||
}
|
||||
) {
|
||||
const { accountName, sort = 'createdAt' } = options
|
||||
|
@ -48,7 +49,7 @@ export class ChannelsCommand extends AbstractCommand {
|
|||
...options,
|
||||
|
||||
path,
|
||||
query: { sort, ...pick(options, [ 'start', 'count', 'withStats', 'search' ]) },
|
||||
query: { sort, ...pick(options, [ 'start', 'count', 'withStats', 'search', 'includeCollaborations' ]) },
|
||||
implicitToken: false,
|
||||
defaultExpectedStatus: HttpStatusCode.OK_200
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue