lib/twilio-ruby/rest/taskrouter/v1/workspace/workspace_statistics.rb in twilio-ruby-5.0.0.rc23 vs lib/twilio-ruby/rest/taskrouter/v1/workspace/workspace_statistics.rb in twilio-ruby-5.0.0.rc24

- old
+ new

@@ -88,11 +88,11 @@ # @param [Time] end_date The end_date # @return [WorkspaceStatisticsInstance] Fetched WorkspaceStatisticsInstance def fetch(minutes: :unset, start_date: :unset, end_date: :unset) params = Twilio::Values.of({ 'Minutes' => minutes, - 'StartDate' => Twilio.serialize_iso8601(start_date), - 'EndDate' => Twilio.serialize_iso8601(end_date), + 'StartDate' => Twilio.serialize_iso8601_datetime(start_date), + 'EndDate' => Twilio.serialize_iso8601_datetime(end_date), }) payload = @version.fetch( 'GET', @uri, \ No newline at end of file