lib/twilio-ruby/rest/ip_messaging/v2/service/user.rb in twilio-ruby-5.72.1 vs lib/twilio-ruby/rest/ip_messaging/v2/service/user.rb in twilio-ruby-5.73.0

- old
+ new

@@ -301,10 +301,10 @@ 'identity' => payload['identity'], 'is_online' => payload['is_online'], 'is_notifiable' => payload['is_notifiable'], 'date_created' => Twilio.deserialize_iso8601_datetime(payload['date_created']), 'date_updated' => Twilio.deserialize_iso8601_datetime(payload['date_updated']), - 'joined_channels_count' => payload['joined_channels_count'].to_i, + 'joined_channels_count' => payload['joined_channels_count'] == nil ? payload['joined_channels_count'] : payload['joined_channels_count'].to_i, 'links' => payload['links'], 'url' => payload['url'], } # Context \ No newline at end of file