Email-like field in /api/v1/accounts/verify_credentials response (for OAuth plugins like Peertube).

Addresses https://git.pleroma.social/pleroma/pleroma-support/-/issues/56.
This commit is contained in:
Ivan Tashkinov 2021-01-28 19:49:43 +03:00
commit 60b4654038
7 changed files with 49 additions and 7 deletions

View file

@ -73,6 +73,7 @@ defmodule Pleroma.Web.MastodonAPI.AccountViewTest do
},
fields: []
},
fqn: "shp@shitposter.club",
pleroma: %{
ap_id: user.ap_id,
also_known_as: ["https://shitposter.zone/users/shp"],
@ -172,6 +173,7 @@ defmodule Pleroma.Web.MastodonAPI.AccountViewTest do
},
fields: []
},
fqn: "shp@shitposter.club",
pleroma: %{
ap_id: user.ap_id,
also_known_as: [],