mirror of https://gitee.com/bigwinds/arangodb
fix revoke operation (#4362)
This commit is contained in:
parent
373a5d1f4c
commit
70bb51fdcc
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue