diff options
author | Andy Wenk <andywenk@apache.org> | 2014-03-21 23:16:55 +0100 |
---|---|---|
committer | Andy Wenk <andywenk@apache.org> | 2014-03-21 23:16:55 +0100 |
commit | 0e8c1787a043a01c6daba9fa574c418b49ca1916 (patch) | |
tree | 16b535a50f88da59212e78019e35ecfbc63f7582 | |
parent | 29256149029714af6379dadd62022ee6f46b58ec (diff) | |
download | couchdb-0e8c1787a043a01c6daba9fa574c418b49ca1916.tar.gz |
Fix error message
Small typo in the error message. Was ?=rev but should
read ?rev=
-rw-r--r-- | src/couchdb/couch_httpd_db.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/couchdb/couch_httpd_db.erl b/src/couchdb/couch_httpd_db.erl index 0a7c17c6f..6940e472b 100644 --- a/src/couchdb/couch_httpd_db.erl +++ b/src/couchdb/couch_httpd_db.erl @@ -44,7 +44,7 @@ handle_request(#httpd{path_parts=[DbName|RestParts],method=Method, case couch_httpd:qs_value(Req, "rev", false) of false -> delete_db_req(Req, DbName); _Rev -> throw({bad_request, - "You tried to DELETE a database with a ?=rev parameter. " + "You tried to DELETE a database with a ?rev= parameter. " ++ "Did you mean to DELETE a document instead?"}) end; {_, []} -> |