Platform is Javascript.
Even the most simple example doesnt work.
I am simply using channel.leave().
If I pass in the params for channel_url, user_ids, and should_leave_all it works fine when testing the API end point manually.
But when I do the exact same thing with the .leave function, it is complaining with the error “should_remove_operatator_status” must be a boolean. First of all, Im not even including that param, so why would it ever give an error like that? And even if I do and set it to the boolean of false or true, it still just gives the exact same error.
This happens for channels where I am an operator AND where I am not.
Function looks to just be broken.
Any way to disable that param so that it can actually work?