1
0
Fork 0

fix revoke operation (#4362)

This commit is contained in:
Jan 2018-01-23 09:07:45 +01:00 committed by GitHub
parent 373a5d1f4c
commit 70bb51fdcc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -478,8 +478,10 @@ static Result UpdateUser(VPackSlice const& user) {
Result res = trx.begin();
if (res.ok()) {
OperationOptions options;
options.mergeObjects = false;
OperationResult result =
trx.update(TRI_COL_NAME_USERS, user, OperationOptions());
trx.update(TRI_COL_NAME_USERS, user, options);
res = trx.finish(result.result);
}
return res;