diff options
author | Peter Lemenkov <lemenkov@gmail.com> | 2013-08-17 18:57:56 +0400 |
---|---|---|
committer | Robert Newson <rnewson@apache.org> | 2013-08-20 12:32:36 +0100 |
commit | 7ce8e3ad338328fcedd58d07954b0f5956655186 (patch) | |
tree | 51ac21b429f7b22d23c0583d8fa2bbe21f9c1666 | |
parent | 378853ca0a74e61351eb60b5277295ecd886f5d2 (diff) | |
download | couchdb-7ce8e3ad338328fcedd58d07954b0f5956655186.tar.gz |
Typo - no such function couch_httpd:send_method_not_allowd/2
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
-rw-r--r-- | src/couch_mrview/src/couch_mrview_http.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/couch_mrview/src/couch_mrview_http.erl b/src/couch_mrview/src/couch_mrview_http.erl index 6e571f342..b8c446517 100644 --- a/src/couch_mrview/src/couch_mrview_http.erl +++ b/src/couch_mrview/src/couch_mrview_http.erl @@ -87,7 +87,7 @@ handle_compact_req(#httpd{method='POST'}=Req, Db, DDoc) -> ok = couch_mrview:compact(Db, DDoc), couch_httpd:send_json(Req, 202, {[{ok, true}]}); handle_compact_req(Req, _Db, _DDoc) -> - couch_httpd:send_method_not_allowd(Req, "POST"). + couch_httpd:send_method_not_allowed(Req, "POST"). handle_cleanup_req(#httpd{method='POST'}=Req, Db) -> |