Switch to Jason over Poison
This commit is contained in:
parent
b14a314ce7
commit
498bfdf403
6 changed files with 13 additions and 13 deletions
|
|
@ -14,7 +14,7 @@ defmodule Pleroma.Uploaders.Swift.Keystone do
|
|||
|
||||
def process_response_body(body) do
|
||||
body
|
||||
|> Poison.decode!()
|
||||
|> Jason.decode!()
|
||||
end
|
||||
|
||||
def get_token do
|
||||
|
|
@ -38,7 +38,7 @@ defmodule Pleroma.Uploaders.Swift.Keystone do
|
|||
end
|
||||
|
||||
def make_auth_body(username, password, tenant) do
|
||||
Poison.encode!(%{
|
||||
Jason.encode!(%{
|
||||
:auth => %{
|
||||
:passwordCredentials => %{
|
||||
:username => username,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue