aboutsummaryrefslogtreecommitdiffstats
path: root/test/http_SUITE_data/http_errors.erl
diff options
context:
space:
mode:
Diffstat (limited to 'test/http_SUITE_data/http_errors.erl')
-rw-r--r--test/http_SUITE_data/http_errors.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/http_SUITE_data/http_errors.erl b/test/http_SUITE_data/http_errors.erl
index f105c58..f646df5 100644
--- a/test/http_SUITE_data/http_errors.erl
+++ b/test/http_SUITE_data/http_errors.erl
@@ -5,7 +5,7 @@
-export([init/2]).
init(Req, _Opts) ->
- #{'case' := Case} = cowboy_req:match_qs(Req, ['case']),
+ #{'case' := Case} = cowboy_req:match_qs(['case'], Req),
case_init(Case, Req).
case_init(<<"init_before_reply">> = Case, _Req) ->