guests query param for synapse user list request needs to be a string but our docs say it is a bool. Lets auto convert it so we don't cause a BC problem.
This commit is contained in:
parent
f8c5344a4e
commit
be5416a68e
@ -39,7 +39,7 @@ module.exports = function(RED) {
|
||||
};
|
||||
|
||||
if(msg.guests) {
|
||||
queryParams['guests'] = msg.guests;
|
||||
queryParams['guests'] = msg.guests ? 'true' : 'false';
|
||||
}
|
||||
|
||||
if(msg.order_by) {
|
||||
|
Loading…
Reference in New Issue
Block a user