mirror of https://gitee.com/bigwinds/arangodb
Fixed a minor problem with Babies API
This commit is contained in:
parent
75e1627a85
commit
d8c44e03d2
|
@ -697,7 +697,8 @@ int createDocumentOnCoordinator(
|
|||
}
|
||||
resultMap.emplace(res.shardID, tmpBuilder);
|
||||
} else {
|
||||
resultMap.emplace(res.shardID, res.result->getBodyVelocyPack());
|
||||
resultMap.emplace(res.shardID,
|
||||
res.answer->toVelocyPack(&VPackOptions::Defaults));
|
||||
auto resultHeaders = res.answer->headers();
|
||||
auto codes = resultHeaders.find("X-Arango-Error-Codes");
|
||||
if (codes != resultHeaders.end()) {
|
||||
|
|
Loading…
Reference in New Issue