Closed fspegni closed 1 year ago
ok, doing some in-depth search in your code e.g. here and comparing with the listUserDatabases
, I realize I could get what I want by doing the same:
db.request({ path:"/_api/user" }, (res) => console.log("Users", res.body.result))
Thus, It seems to me there is a small bug in the listUsers
function, that should pass a callback (as the listUserDatabases
does)
Hi everyone,
I'm observing an odd behavior with the following script (using arangojs 7.7.0):
The value of variables
usersData
in both examples above is the following:Following this documentation I'd expect an array of
ArangoUser
objects, instead.Am I doing something wrong? Note that if I call another method (e.g.
listUserDatabases()
) I get the expected result (an array of strings).