Skip to content

fix: type of CheckBase.LatestCompleted is DateTime #293

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Feb 24, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@

### Bug Fixes
1. [#290](https://github.com/influxdata/influxdb-client-csharp/pull/290): Change `PermissionResource.Type` to `String`
1. [#293](https://github.com/influxdata/influxdb-client-csharp/pull/293): Type of `CheckBase.LatestCompleted` is `DateTime`

### CI
1. [#292](https://github.com/influxdata/influxdb-client-csharp/pull/292): Use new Codecov uploader for reporting code coverage
Expand Down
2 changes: 1 addition & 1 deletion Client/InfluxDB.Client.Api/Domain/CheckBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ public CheckBase(string name = default, string orgID = default, string taskID =
/// </summary>
/// <value>Timestamp (in RFC3339 date/time format](https://datatracker.ietf.org/doc/html/rfc3339)) of the latest scheduled and completed run.</value>
[DataMember(Name = "latestCompleted", EmitDefaultValue = false)]
public object LatestCompleted { get; private set; }
public DateTime? LatestCompleted { get; private set; }


/// <summary>
Expand Down