1
0
Fork 0

Fixed a bug in RestDocumentHandler. One VelocyPack did result in an illegal representation

This commit is contained in:
Michael Hackstein 2015-11-07 19:06:38 +01:00
parent bedb61ea49
commit 52e198b59f
1 changed files with 1 additions and 1 deletions

View File

@ -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);