AdminAPI: Return approval_pending with users
This commit is contained in:
parent
a1570ba6ad
commit
b750129da1
3 changed files with 42 additions and 3 deletions
|
|
@ -77,6 +77,7 @@ defmodule Pleroma.Web.AdminAPI.AccountView do
|
|||
"roles" => User.roles(user),
|
||||
"tags" => user.tags || [],
|
||||
"confirmation_pending" => user.confirmation_pending,
|
||||
"approval_pending" => user.approval_pending,
|
||||
"url" => user.uri || user.ap_id,
|
||||
"registration_reason" => user.registration_reason
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue