v2 Suggestions: return is_suggested through the API
This commit is contained in:
parent
8dc1d2201a
commit
6519f59d91
4 changed files with 9 additions and 2 deletions
|
|
@ -80,6 +80,7 @@ defmodule Pleroma.Web.AdminAPI.AccountView do
|
|||
"tags" => user.tags || [],
|
||||
"is_confirmed" => user.is_confirmed,
|
||||
"is_approved" => user.is_approved,
|
||||
"is_suggested" => user.is_suggested,
|
||||
"url" => user.uri || user.ap_id,
|
||||
"registration_reason" => user.registration_reason,
|
||||
"actor_type" => user.actor_type,
|
||||
|
|
|
|||
|
|
@ -269,6 +269,7 @@ defmodule Pleroma.Web.MastodonAPI.AccountView do
|
|||
ap_id: user.ap_id,
|
||||
also_known_as: user.also_known_as,
|
||||
is_confirmed: user.is_confirmed,
|
||||
is_suggested: user.is_suggested,
|
||||
tags: user.tags,
|
||||
hide_followers_count: user.hide_followers_count,
|
||||
hide_follows_count: user.hide_follows_count,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue