Commit 10eaa65f authored by Tristan Cavelier's avatar Tristan Cavelier

fix revisionstorage get attachment responses

parent 2af14ef2
...@@ -660,7 +660,7 @@ jIO.addStorageType("revision", function (spec, my) { ...@@ -660,7 +660,7 @@ jIO.addStorageType("revision", function (spec, my) {
if (attachment_list[i] && if (attachment_list[i] &&
doc._attachment === doc._attachment ===
attachment_list[i]._attachment) { attachment_list[i]._attachment) {
return onEnd(attachment_list[i]._data); return onEnd(undefined, attachment_list[i]._data);
} }
} }
return onEnd(priv.notFoundError( return onEnd(priv.notFoundError(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment