Skip to content

Commit

Permalink
Make correction to ending_on
Browse files Browse the repository at this point in the history
  • Loading branch information
rlew421 committed Jul 19, 2023
1 parent 8e8eeb1 commit 48f80d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Library/SubscriptionRampInterval.cs
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ internal override void ReadXml(XmlTextReader reader)
break;

case "ending_on":
_endingOn = !reader.ReadElementAsDateTime().IsNullOrWhiteSpace() ? reader.ReadElementAsDateTime() : (DateTime?)null;
_endingOn = !reader.ReadElementContentAsDateTime().IsNullOrWhiteSpace() ? reader.ReadElementContentAsDateTime() : (DateTime?)null;

Check failure on line 72 in Library/SubscriptionRampInterval.cs

View workflow job for this annotation

GitHub Actions / Dotnet 5.0.x tests

'DateTime' does not contain a definition for 'IsNullOrWhiteSpace' and the best extension method overload 'StringExtensions.IsNullOrWhiteSpace(string)' requires a receiver of type 'string'

Check failure on line 72 in Library/SubscriptionRampInterval.cs

View workflow job for this annotation

GitHub Actions / Dotnet 5.0.x tests

'DateTime' does not contain a definition for 'IsNullOrWhiteSpace' and the best extension method overload 'StringExtensions.IsNullOrWhiteSpace(string)' requires a receiver of type 'string'
break;

case "remaining_billing_cycles":
Expand Down

0 comments on commit 48f80d6

Please sign in to comment.