diff --git a/docs/api.md b/docs/api.md index 2657061..6adf170 100644 --- a/docs/api.md +++ b/docs/api.md @@ -1,4 +1,3 @@ - ## Application A Koa application is not a 1-to-1 representation of an HTTP server, @@ -442,7 +441,7 @@ this.body = 'Redirecting to shopping cart'; to prompt for download. Optionally specify the `filename` of the download. -### ctx.accept(types) +### ctx.accepts(types) Check if the given `type(s)` is acceptable, returning the best match when true, otherwise `undefined`, in which