shrimpy-node icon indicating copy to clipboard operation
shrimpy-node copied to clipboard

undefined result on Set-methods

Open Fi1osof opened this issue 6 years ago • 2 comments

For example call client.enableUser(...) OR client.setPermissions(...) returns undefined. Should { "success": true }

Fi1osof avatar Feb 13 '19 19:02 Fi1osof

That is by design, those methods will throw if there is an error. Is there is a reason you want the success object?

shrimpy-dev avatar Sep 14 '19 17:09 shrimpy-dev

@shrimpy-dev answered here.

Fi1osof avatar Sep 14 '19 21:09 Fi1osof