arangojs icon indicating copy to clipboard operation
arangojs copied to clipboard

Fix return value issue in getUserDatabases and getUserAccessLevel

Open softstuff opened this issue 4 years ago • 0 comments

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"

softstuff avatar Jun 09 '22 21:06 softstuff