mirror of https://gitee.com/bigwinds/arangodb
Fixed a bug in RestDocumentHandler. One VelocyPack did result in an illegal representation
This commit is contained in:
parent
bedb61ea49
commit
52e198b59f
|
@ -831,7 +831,7 @@ bool RestDocumentHandler::readAllDocuments () {
|
|||
// generate result
|
||||
VPackBuilder result;
|
||||
result.add(VPackValue(VPackValueType::Object));
|
||||
result.add("documents", VPackValue());
|
||||
result.add("documents", VPackValue(VPackValueType::Array));
|
||||
|
||||
for (auto const& id : ids) {
|
||||
std::string v(prefix);
|
||||
|
|
Loading…
Reference in New Issue