mirror of https://gitee.com/bigwinds/arangodb
fixed wrong behaviour in patch user route (#4773)
This commit is contained in:
parent
c79c50e4e1
commit
f4b614cb8e
|
@ -146,7 +146,7 @@ static void JS_UpdateUser(v8::FunctionCallbackInfo<v8::Value> const& args) {
|
||||||
u.setActive(TRI_ObjectToBoolean(args[2]));
|
u.setActive(TRI_ObjectToBoolean(args[2]));
|
||||||
}
|
}
|
||||||
if (!extras.isEmpty()) {
|
if (!extras.isEmpty()) {
|
||||||
u.setConfigData(std::move(extras));
|
u.setUserData(std::move(extras));
|
||||||
}
|
}
|
||||||
return TRI_ERROR_NO_ERROR;
|
return TRI_ERROR_NO_ERROR;
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue