forked from AkkomaGang/akkoma
Return profile URL in MastodonAPI's url
field
This commit is contained in:
parent
089d53a961
commit
9c0da1009a
1 changed files with 1 additions and 1 deletions
|
@ -106,7 +106,7 @@ defp do_render("account.json", %{user: user} = opts) do
|
||||||
following_count: user_info.following_count,
|
following_count: user_info.following_count,
|
||||||
statuses_count: user_info.note_count,
|
statuses_count: user_info.note_count,
|
||||||
note: bio || "",
|
note: bio || "",
|
||||||
url: user.ap_id,
|
url: User.profile_url(user),
|
||||||
avatar: image,
|
avatar: image,
|
||||||
avatar_static: image,
|
avatar_static: image,
|
||||||
header: header,
|
header: header,
|
||||||
|
|
Loading…
Reference in a new issue