javascript:S7770
This commit is contained in:
parent
5ce2ce63be
commit
11c4239ceb
10 changed files with 19 additions and 19 deletions
|
|
@ -39,7 +39,7 @@ const USERS_URL_LIST = ({
|
|||
isAdmin && 'is_admin',
|
||||
isModerator && 'is_moderator',
|
||||
]
|
||||
.filter((x) => x)
|
||||
.filter(Boolean)
|
||||
.join(',')
|
||||
return `/api/v1/pleroma/admin/users?page=${page}&page_size=${pageSize}&filters=${filters_str}&query=${query}&name=${name}&email=${email}`
|
||||
}
|
||||
|
|
@ -236,7 +236,7 @@ export const changeStatusScope = ({
|
|||
opts: { id, sensitive, visibility },
|
||||
credentials,
|
||||
}) => {
|
||||
var payload = {}
|
||||
const payload = {}
|
||||
if (typeof sensitive !== 'undefined') {
|
||||
payload['sensitive'] = sensitive
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue