romanzipp / Laravel-Twitch

Twitch Helix API PHP Wrapper for Laravel
https://packagist.org/packages/romanzipp/laravel-twitch
MIT License
108 stars 18 forks source link

Fix createChannelStreamScheduleSegment to use $body correctly #152

Closed Kurir closed 1 year ago

Kurir commented 1 year ago

In the current version, createChannelStreamScheduleSegment does not use the $body property, and this endpoint requires it, with three required fields.

https://dev.twitch.tv/docs/api/reference/#create-channel-stream-schedule-segment see here for the missing required properties that I have added

romanzipp commented 1 year ago

Thanks!