diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/azure_ex/request.ex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/azure_ex/request.ex b/lib/azure_ex/request.ex index 836f9fa..bc6d92b 100644 --- a/lib/azure_ex/request.ex +++ b/lib/azure_ex/request.ex @@ -26,7 +26,7 @@ defmodule AzureEx.Request do @spec handle_response({:ok, HTTPoison.Response.t()}) :: {:ok, result} | {:error, error} def handle_response({:ok, %HTTPoison.Response{body: body}}) do - body |> Jason.decode!(keys: :atoms) + {:ok, Jason.decode!(body, keys: :atoms)} end @spec send(:get, String.t(), params) :: httpoison_result |