Skip to content

Commit

Permalink
fix body type (#137)
Browse files Browse the repository at this point in the history
The response body can also be a list, which is currently not reflected in the type.
  • Loading branch information
woylie authored and scrogson committed Jun 21, 2019
1 parent 3549970 commit 369cca0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/oauth2/response.ex
Expand Up @@ -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,
Expand Down

0 comments on commit 369cca0

Please sign in to comment.