Skip to content

Commit

Permalink
Update "Get Ad Schedule" response
Browse files Browse the repository at this point in the history
  • Loading branch information
occluder committed Dec 14, 2023
1 parent c16f570 commit dc9c0cc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions MiniTwitch.Helix/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# MiniTwitch.Helix Changelog

## Upcoming version

- Fix: [Updated "Get Ad Schedule" response](https://dev.twitch.tv/docs/change-log/#:~:text=2023%E2%80%9112%E2%80%9111)
4 changes: 2 additions & 2 deletions MiniTwitch.Helix/Responses/AdSchedule.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ public class AdSchedule : BaseResponse<AdSchedule.Ad>
public record Ad(
[property: JsonPropertyName("next_ad_at")] DateTime? NextAdAt,
[property: JsonPropertyName("last_ad_at")] DateTime? LastAdAt,
[property: JsonPropertyName("length_seconds")] int LengthSeconds,
[property: JsonPropertyName("preroll_free_time_seconds")] int PrerollFreeTimeSeconds,
[property: JsonPropertyName("duration")] int Duration,
[property: JsonPropertyName("preroll_free_time")] int PrerollFreeTime,
[property: JsonPropertyName("snooze_count")] int SnoozeCount,
[property: JsonPropertyName("snooze_refresh_at")] DateTime? SnoozeRefreshAt
);
Expand Down

0 comments on commit dc9c0cc

Please sign in to comment.