1
0
Fork 0

fix revoke operation

This commit is contained in:
jsteemann 2018-01-19 10:08:44 +01:00
parent d227c83e29
commit fcad07dd7e
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;