diff --git a/arangod/VocBase/document-collection.cpp b/arangod/VocBase/document-collection.cpp index 0c7cb30b47..830b27c72b 100644 --- a/arangod/VocBase/document-collection.cpp +++ b/arangod/VocBase/document-collection.cpp @@ -3240,7 +3240,7 @@ int TRI_document_collection_t::read(Transaction* trx, std::string const& key, mptr->setDataPtr(nullptr); // PROTECTED by trx in trxCollection VPackBuilder builder; - builder.add(TRI_VOC_ATTRIBUTE_KEY, VPackValue(key)); + builder.add(VPackValue(key)); VPackSlice slice = builder.slice(); {