1
0
Fork 0

fixed wrong behaviour in patch user route (#4773)

This commit is contained in:
Heiko 2018-03-07 11:55:36 +01:00 committed by Jan
parent c79c50e4e1
commit f4b614cb8e
1 changed files with 1 additions and 1 deletions

View File

@ -146,7 +146,7 @@ static void JS_UpdateUser(v8::FunctionCallbackInfo<v8::Value> const& args) {
u.setActive(TRI_ObjectToBoolean(args[2]));
}
if (!extras.isEmpty()) {
u.setConfigData(std::move(extras));
u.setUserData(std::move(extras));
}
return TRI_ERROR_NO_ERROR;
});