aboutsummaryrefslogtreecommitdiffstats
path: root/test/http_SUITE_data/rest_resource_etags.erl
diff options
context:
space:
mode:
Diffstat (limited to 'test/http_SUITE_data/rest_resource_etags.erl')
-rw-r--r--test/http_SUITE_data/rest_resource_etags.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/http_SUITE_data/rest_resource_etags.erl b/test/http_SUITE_data/rest_resource_etags.erl
index 23b9dfc..1ea3005 100644
--- a/test/http_SUITE_data/rest_resource_etags.erl
+++ b/test/http_SUITE_data/rest_resource_etags.erl
@@ -9,7 +9,7 @@ init(Req, Opts) ->
{cowboy_rest, Req, Opts}.
generate_etag(Req, State) ->
- #{type := Type} = cowboy_req:match_qs(Req, [type]),
+ #{type := Type} = cowboy_req:match_qs([type], Req),
case Type of
%% Correct return values from generate_etag/2.
<<"tuple-weak">> ->