summaryrefslogtreecommitdiff
path: root/src/couchdb/couch_httpd_misc_handlers.erl
diff options
context:
space:
mode:
authorJohn Christopher Anderson <jchris@apache.org>2009-01-22 23:55:43 +0000
committerJohn Christopher Anderson <jchris@apache.org>2009-01-22 23:55:43 +0000
commit3e12deff5c0f87eefcd3de8dbf93a9724e98258e (patch)
tree618608166d2a5c5235d3073e42140eaeda808057 /src/couchdb/couch_httpd_misc_handlers.erl
parent3a54f4199f66812b7b9496b91a4aebd47dcb7218 (diff)
Fix some eJSON stragglers (works with mochijson2, but not eep18). thanks kocolosk!
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@736856 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/couchdb/couch_httpd_misc_handlers.erl')
-rw-r--r--src/couchdb/couch_httpd_misc_handlers.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/couchdb/couch_httpd_misc_handlers.erl b/src/couchdb/couch_httpd_misc_handlers.erl
index 5a1f6ee4..31e821ce 100644
--- a/src/couchdb/couch_httpd_misc_handlers.erl
+++ b/src/couchdb/couch_httpd_misc_handlers.erl
@@ -107,7 +107,7 @@ handle_uuids_req(#httpd{method='POST'}=Req) ->
% generate the uuids
UUIDs = [ couch_util:new_uuid() || _ <- lists:seq(1,Count)],
% send a JSON response
- send_json(Req, {[{"uuids", UUIDs}]});
+ send_json(Req, {[{<<"uuids">>, UUIDs}]});
handle_uuids_req(Req) ->
send_method_not_allowed(Req, "POST").