Skip to content

Commit

Permalink
few more endpoint property fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
vslee committed Jul 19, 2020
1 parent 2bd9c3e commit c867f92
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ public class SectorPerformanceResponse
{
public string type { get; set; }
public string name { get; set; }
public decimal performance { get; set; }
public decimal? performance { get; set; }
public long lastUpdated { get; set; }
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public class Earning
}
public class Other
{
public long? consensusEPS { get; set; }
public decimal? consensusEPS { get; set; }
public string announceTime { get; set; }
public long numberOfEstimates { get; set; }
public string fiscalPeriod { get; set; }
Expand Down
2 changes: 1 addition & 1 deletion IEXSharpTest/Cloud/CoreData/MarketInfoTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ public async Task SectorPerformanceAsync()
var data = response.Data.First();
Assert.NotNull(data.type);
Assert.NotNull(data.name);
Assert.NotNull(data.performance);
// Assert.NotNull(data.performance); sometimes IEX does return a null performance :(
Assert.NotNull(data.lastUpdated);
}

Expand Down

0 comments on commit c867f92

Please sign in to comment.