1
0
Fork 1
mirror of https://akkoma.dev/AkkomaGang/akkoma.git synced 2024-12-25 04:53:06 +00:00

Return profile URL in MastodonAPI's url field

This commit is contained in:
Thibaut Girka 2019-08-07 21:40:53 +00:00
parent 089d53a961
commit 9c0da1009a

View file

@ -106,7 +106,7 @@ defp do_render("account.json", %{user: user} = opts) do
following_count: user_info.following_count,
statuses_count: user_info.note_count,
note: bio || "",
url: user.ap_id,
url: User.profile_url(user),
avatar: image,
avatar_static: image,
header: header,