Fix trailing whitespaces in lib/pleroma/web/web_finger.ex

This commit is contained in:
Kaizhe Huang 2020-12-21 00:54:15 +11:00
parent 509f82e4d6
commit fb02241580
1 changed files with 1 additions and 1 deletions

View File

@ -116,7 +116,7 @@ defp webfinger_from_json(doc) do
{"application/ld+json; profile=\"https://www.w3.org/ns/activitystreams\"", "self"} -> {"application/ld+json; profile=\"https://www.w3.org/ns/activitystreams\"", "self"} ->
Map.put(data, "ap_id", link["href"]) Map.put(data, "ap_id", link["href"])
{nil, "http://ostatus.org/schema/1.0/subscribe"} -> {nil, "http://ostatus.org/schema/1.0/subscribe"} ->
Map.put(data, "subscribe_address", link["template"]) Map.put(data, "subscribe_address", link["template"])
_ -> _ ->