Fix firstmedia.com schedule api start time.

The correct start time for schedule is 1. Settings start time to 0
will mix the schedules from next day.
This commit is contained in:
Toha
2023-11-10 20:00:19 +07:00
parent 918bb1855e
commit ccd1d3a863
2 changed files with 2 additions and 2 deletions

View File

@@ -8,7 +8,7 @@ const channel = { site_id: '243', xmltv_id: 'AlJazeeraEnglish.qa', lang: 'id' }
it('can generate valid url', () => {
expect(url({ channel, date })).toBe(
'https://api.firstmedia.com/api/content/tv-guide/list?date=08/11/2023&channel=243&startTime=0&endTime=24'
'https://api.firstmedia.com/api/content/tv-guide/list?date=08/11/2023&channel=243&startTime=1&endTime=24'
)
})