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:
2 files changed
+2
-2
No files matched your search
@@ -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'
|
||||
)
|
||||
})
|
||||
|
||||
|
||||
Reference in new issue
Block a user