Typo - no such function couch_httpd:send_method_not_allowd/2 Signed-off-by: Peter Lemenkov <lemen...@gmail.com>
Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch-mrview/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch-mrview/commit/f4739cd1 Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch-mrview/tree/f4739cd1 Diff: http://git-wip-us.apache.org/repos/asf/couchdb-couch-mrview/diff/f4739cd1 Branch: refs/heads/import-rcouch Commit: f4739cd13bb1c8428db93bc5848e72aa9a47d6fb Parents: fc01965 Author: Peter Lemenkov <lemen...@gmail.com> Authored: Sat Aug 17 18:57:56 2013 +0400 Committer: Robert Newson <rnew...@apache.org> Committed: Tue Aug 20 12:32:36 2013 +0100 ---------------------------------------------------------------------- src/couch_mrview_http.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/couchdb-couch-mrview/blob/f4739cd1/src/couch_mrview_http.erl ---------------------------------------------------------------------- diff --git a/src/couch_mrview_http.erl b/src/couch_mrview_http.erl index 6e571f3..b8c4465 100644 --- a/src/couch_mrview_http.erl +++ b/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) ->