Webpack build for branch 11.3-dev: 40a2f093aa

This commit is contained in:
Travis CI 2018-02-13 16:46:57 +00:00
parent f68f42b3c9
commit ce9adeb7d6
2 changed files with 2 additions and 2 deletions

View file

@ -17502,7 +17502,7 @@ class RESTMethods {
data.topic = _data.topic || channel.topic;
data.position = _data.position || channel.position;
data.bitrate = _data.bitrate || (channel.bitrate ? channel.bitrate * 1000 : undefined);
data.user_limit = _data.userLimit || channel.userLimit;
data.user_limit = typeof _data.userLimit !== 'undefined' ? _data.userLimit : channel.userLimit;
data.parent_id = _data.parent || (channel.parent ? channel.parent.id : undefined);
return this.rest.makeRequest('patch', Endpoints.Channel(channel), true, data, undefined, reason).then(newData =>
this.client.actions.ChannelUpdate.handle(newData).updated

File diff suppressed because one or more lines are too long