aboutsummaryrefslogtreecommitdiffstats
path: root/doc/src/guide/multipart.asciidoc
diff options
context:
space:
mode:
Diffstat (limited to 'doc/src/guide/multipart.asciidoc')
-rw-r--r--doc/src/guide/multipart.asciidoc2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/src/guide/multipart.asciidoc b/doc/src/guide/multipart.asciidoc
index 630b210..77d263a 100644
--- a/doc/src/guide/multipart.asciidoc
+++ b/doc/src/guide/multipart.asciidoc
@@ -146,7 +146,7 @@ all bodies:
[source,erlang]
----
multipart(Req0) ->
- case cowboy_req:part(Req0) of
+ case cowboy_req:read_part(Req0) of
{ok, _Headers, Req} ->
multipart(Req);
{done, Req} ->