Return profile URL in MastodonAPI's `url` field

This commit is contained in:
Thibaut Girka 2019-08-07 21:40:53 +00:00 committed by Ariadne Conill
parent b29dcc8c1b
commit a3654d9479
1 changed files with 1 additions and 1 deletions

View File

@ -112,7 +112,7 @@ defmodule Pleroma.Web.MastodonAPI.AccountView do
following_count: 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,