Skip to content

Commit 431fecd

Browse files
author
Josh Marchán
committed
Fixed batch-get-documents.
That was pretty retarded of me.
1 parent 2f3eae1 commit 431fecd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/db.lisp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ that can be used to perform operations on it."
263263
(:reply ((db =database=) &rest doc-ids)
264264
(handle-request (response db "_all_docs" :method :post
265265
:parameters '(("include_docs" . "true"))
266-
:content (format nil "{\"foo\":[~{~S~^,~}]}" doc-ids))
266+
:content (format nil "{\"keys\":[~{~S~^,~}]}" doc-ids))
267267
(:ok response))))
268268

269269
(defmessage put-document (db id doc &key)

0 commit comments

Comments
 (0)