instanceinfo: fix Misskey number of users
This commit is contained in:
parent
3b576f2e8d
commit
4bf394497a
|
@ -167,7 +167,7 @@ function parse_misskey()
|
|||
[[ "${email}" != "null" ]] && echo "E-Mail: ${email}"
|
||||
|
||||
# shellcheck disable=SC2155
|
||||
local users=$(${mycurl} -X POST "https://${instance}/api/stats" | jq -r ".usersCount")
|
||||
local users=$(${mycurl} -X POST "https://${instance}/api/stats" | jq -r ".originalUsersCount")
|
||||
[[ ${users} != "null" ]] && echo "Number of users: ${users}"
|
||||
|
||||
echo -n "Open registrations: "
|
||||
|
|
Loading…
Reference in New Issue
Block a user