From 42eb6bae695a7e2126d0237d9e392682547ef6dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Fri, 6 Sep 2019 12:25:02 +0200 Subject: Fix using custom fields in Req --- doc/src/manual/cowboy_req.asciidoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/src/manual/cowboy_req.asciidoc b/doc/src/manual/cowboy_req.asciidoc index 2758e8f..ca99f9f 100644 --- a/doc/src/manual/cowboy_req.asciidoc +++ b/doc/src/manual/cowboy_req.asciidoc @@ -156,7 +156,7 @@ them by prepending an underscore and the name of your application: .Setting a custom field [source,erlang] ---- -Req#{_myapp_auth_method => pubkey}. +Req#{'_myapp_auth_method' => pubkey}. ---- === resp_body() -- cgit v1.2.3