aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--doc/src/manual/cowboy_req.set_resp_cookie.asciidoc2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/src/manual/cowboy_req.set_resp_cookie.asciidoc b/doc/src/manual/cowboy_req.set_resp_cookie.asciidoc
index 2831059..a4bfae7 100644
--- a/doc/src/manual/cowboy_req.set_resp_cookie.asciidoc
+++ b/doc/src/manual/cowboy_req.set_resp_cookie.asciidoc
@@ -9,7 +9,7 @@ cowboy_req:set_resp_cookie - Set a cookie
[source,erlang]
----
set_resp_cookie(Name, Value, Req :: cowboy_req:req())
- -> set_resp_cookie(Name, Value, [], Req)
+ -> set_resp_cookie(Name, Value, Req, #{})
set_resp_cookie(Name, Value, Req :: cowboy_req:req(), Opts)
-> Req