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:
Skylar Sadlier 2021-09-03 10:16:49 -06:00
parent f8c5344a4e
commit be5416a68e

View File

@ -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) {