1
0
Fork 0

user the correct attribute name

This commit is contained in:
hkernbach 2019-11-21 17:46:16 +01:00
parent dd52f0fcf9
commit d86a60e1f0
1 changed files with 1 additions and 1 deletions

View File

@ -1455,7 +1455,7 @@ Result RestReplicationHandler::processRestoreUsersBatch(std::string const& colle
VPackSlice allMarkersSlice = allMarkers.slice();
std::string aql(
"FOR u IN @restored UPSERT {name: u.name} INSERT u REPLACE u "
"FOR u IN @restored UPSERT {user: u.user} INSERT u REPLACE u "
"INTO @@collection OPTIONS {ignoreErrors: true, silent: true, "
"waitForSync: false, isRestore: true}");