From 4cec1054cec9a6a6f3aff8f6252f3b8221fd2ae4 Mon Sep 17 00:00:00 2001 From: Mathias Polligkeit <13847569+woylie@users.noreply.github.com> Date: Fri, 21 Jun 2019 15:26:29 +0200 Subject: [PATCH] fix body type The response body can also be a list, which is currently not reflected in the type. --- lib/oauth2/response.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/oauth2/response.ex b/lib/oauth2/response.ex index 7a5d3d4..5073a6a 100644 --- a/lib/oauth2/response.ex +++ b/lib/oauth2/response.ex @@ -16,7 +16,7 @@ defmodule OAuth2.Response do @type status_code :: integer @type headers :: list - @type body :: binary | map + @type body :: binary | map | list @type t :: %__MODULE__{ status_code: status_code,