summaryrefslogtreecommitdiff
path: root/src/couchdb/couch_httpd.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/couchdb/couch_httpd.erl')
-rw-r--r--src/couchdb/couch_httpd.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/couchdb/couch_httpd.erl b/src/couchdb/couch_httpd.erl
index 95693262..52aa1507 100644
--- a/src/couchdb/couch_httpd.erl
+++ b/src/couchdb/couch_httpd.erl
@@ -696,7 +696,7 @@ finish_view_fold(Req, FoldResult) ->
% send empty view
send_json(Req, 200, {obj, [
{total_rows, TotalRows},
- {rows, []}
+ {rows, {}}
]});
{ok, _TotalRows, {_, _, Resp, AccRevRows}} ->
% end the view