Switch to Jason over Poison
This commit is contained in:
parent
b14a314ce7
commit
498bfdf403
6 changed files with 13 additions and 13 deletions
|
|
@ -682,7 +682,7 @@ defmodule Pleroma.Web.ActivityPub.Utils do
|
|||
"""
|
||||
def fetch_ordered_collection(from, pages_left, acc \\ []) do
|
||||
with {:ok, response} <- Tesla.get(from),
|
||||
{:ok, collection} <- Poison.decode(response.body) do
|
||||
{:ok, collection} <- Jason.decode(response.body) do
|
||||
case collection["type"] do
|
||||
"OrderedCollection" ->
|
||||
# If we've encountered the OrderedCollection and not the page,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue