arangojs
arangojs copied to clipboard
Fix return value issue in getUserDatabases and getUserAccessLevel
Hi I found a return type issues, the access level is return in the body.result and not in the body. Tried to cover it with tests.
The return type for both calls is: { "error" : false, "code" : 200, "result" : "rw" } but typescript and documentation suggested only the result: "rw"