diff --git a/docs/api.md b/docs/api.md index d44effd..474beec 100644 --- a/docs/api.md +++ b/docs/api.md @@ -464,7 +464,7 @@ this.accepts('html', 'json'); or use a switch: ```js -switch (this.accepts('json, html, text')) { +switch (this.accepts('json', 'html', 'text')) { case 'json': break; case 'html': break; case 'text': break;