From 369cca0e265f5f5f0169c1a41df95dee20a2ce20 Mon Sep 17 00:00:00 2001 From: Mathias Polligkeit <13847569+woylie@users.noreply.github.com> Date: Fri, 21 Jun 2019 17:49:44 +0200 Subject: [PATCH] fix body type (#137) 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,