Merge branch 'develop' into gun
[akkoma] / lib / pleroma / web / web_finger / web_finger.ex
index 43a81c75d3a0606e89a0562b5f5482b92c89ed3b..db567a02e0fbebf5832be41f03e8b371fd1522b9 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)