Skip to content

Commit

Permalink
Fixed incorrect nullable int
Browse files Browse the repository at this point in the history
  • Loading branch information
davidnmbond committed Sep 29, 2024
1 parent a70a931 commit 21664a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions LogicMonitor.Api/LogicModules/ResourceDataSourceInstance.cs
Original file line number Diff line number Diff line change
Expand Up @@ -128,14 +128,14 @@ public class ResourceDataSourceInstance : NamedItem, IHasCustomProperties
/// The id of the Resource the DataSource Instance is associated with
/// </summary>
[DataMember(Name = "deviceId")]
public int? ResourceId { get; set; }
public int ResourceId { get; set; }

/// <summary>
/// Obsolete
/// </summary>
[JsonIgnore, IgnoreDataMember]
[Obsolete("Use ResourceId instead", true)]
public int? DeviceId => ResourceId;
public int DeviceId => ResourceId;

/// <summary>
/// Whether or not alerting is disabled for the instance
Expand Down

0 comments on commit 21664a8

Please sign in to comment.