Skip to content

Commit

Permalink
Merge pull request #22 from kivra/js-fix_response_type
Browse files Browse the repository at this point in the history
feat: allow list of proplists as return value
  • Loading branch information
jakobsvenning authored Dec 1, 2020
2 parents b49a963 + 5fa8fbc commit 07a92b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ else
endif

compile_elvis:
git clone https://github.com/inaka/elvis.git .elvis && \
git clone https://github.com/inaka/elvis.git --branch 0.5.0 --single-branch .elvis && \
cd .elvis && \
rebar3 compile && \
rebar3 escriptize && \
Expand Down
2 changes: 1 addition & 1 deletion include/oauth2c.hrl
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
-type property() :: atom() | tuple().
-type proplist() :: [property()].
-type options() :: proplist().
-type body() :: proplist().
-type body() :: proplist() | [proplist()].
-type restc_response() :: { ok
, Status::status_code()
, Headers::headers()
Expand Down

0 comments on commit 07a92b7

Please sign in to comment.