diff --git a/Source/ZoomNet/Models/SmsAttachmentType.cs b/Source/ZoomNet/Models/SmsAttachmentType.cs index d471b963..54b67154 100644 --- a/Source/ZoomNet/Models/SmsAttachmentType.cs +++ b/Source/ZoomNet/Models/SmsAttachmentType.cs @@ -28,7 +28,7 @@ public enum SmsAttachmentType /// /// Jpg. /// - [EnumMember(Value = "JPG")] + [EnumMember(Value = "JPG/JPEG")] Jpg, /// diff --git a/Source/ZoomNet/Resources/Sms.cs b/Source/ZoomNet/Resources/Sms.cs index 85c4ddbe..d3600ed8 100644 --- a/Source/ZoomNet/Resources/Sms.cs +++ b/Source/ZoomNet/Resources/Sms.cs @@ -32,8 +32,8 @@ public Task> GetSmsSessionDetailsAsync( return _client .GetAsync($"phone/sms/sessions/{sessionId}") .WithArgument("sort", orderAscending.HasValue ? orderAscending.Value ? 1 : 2 : null) - .WithArgument("from", from?.ToZoomFormat(dateOnly: false)) - .WithArgument("to", to?.ToZoomFormat(dateOnly: false)) + .WithArgument("from", from?.ToZoomFormat(timeZone: TimeZones.UTC, dateOnly: false)) + .WithArgument("to", to?.ToZoomFormat(timeZone: TimeZones.UTC, dateOnly: false)) .WithArgument("page_size", recordsPerPage) .WithArgument("next_page_token", pagingToken) .WithCancellationToken(cancellationToken)