lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow.rb in twilio-ruby-5.72.1 vs lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow.rb in twilio-ruby-5.73.0
- old
+ new
@@ -326,10 +326,10 @@
'date_updated' => Twilio.deserialize_iso8601_datetime(payload['date_updated']),
'document_content_type' => payload['document_content_type'],
'fallback_assignment_callback_url' => payload['fallback_assignment_callback_url'],
'friendly_name' => payload['friendly_name'],
'sid' => payload['sid'],
- 'task_reservation_timeout' => payload['task_reservation_timeout'].to_i,
+ 'task_reservation_timeout' => payload['task_reservation_timeout'] == nil ? payload['task_reservation_timeout'] : payload['task_reservation_timeout'].to_i,
'workspace_sid' => payload['workspace_sid'],
'url' => payload['url'],
'links' => payload['links'],
}
\ No newline at end of file