mirror of
https://github.com/Skylar-Tech/node-red-contrib-matrix-chat.git
synced 2025-04-20 13:03:12 -06:00
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) {
|
if(msg.guests) {
|
||||||
queryParams['guests'] = msg.guests;
|
queryParams['guests'] = msg.guests ? 'true' : 'false';
|
||||||
}
|
}
|
||||||
|
|
||||||
if(msg.order_by) {
|
if(msg.order_by) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user