mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-02-25 18:55:32 -06:00
@@ -164,14 +164,23 @@ function getUsersList (url: string, accessToken: string) {
|
||||
.expect('Content-Type', /json/)
|
||||
}
|
||||
|
||||
function getUsersListPaginationAndSort (url: string, accessToken: string, start: number, count: number, sort: string, search?: string) {
|
||||
function getUsersListPaginationAndSort (
|
||||
url: string,
|
||||
accessToken: string,
|
||||
start: number,
|
||||
count: number,
|
||||
sort: string,
|
||||
search?: string,
|
||||
blocked?: boolean
|
||||
) {
|
||||
const path = '/api/v1/users'
|
||||
|
||||
const query = {
|
||||
start,
|
||||
count,
|
||||
sort,
|
||||
search
|
||||
search,
|
||||
blocked
|
||||
}
|
||||
|
||||
return request(url)
|
||||
|
||||
Reference in New Issue
Block a user