Merge branch 'develop' into gun
[akkoma] / lib / pleroma / web / web_finger / web_finger.ex
index b4cc801799e97a5fa3224875136bd0a645e98acb..91e9e2271fcf90e6441e28937322288927078329 100644 (file)
@@ -205,7 +205,7 @@ defmodule Pleroma.Web.WebFinger do
     with response <-
            HTTP.get(
              address,
-             Accept: "application/xrd+xml,application/jrd+json"
+             [{"accept", "application/xrd+xml,application/jrd+json"}]
            ),
          {:ok, %{status: status, body: body}} when status in 200..299 <- response do
       doc = XML.parse_document(body)