Dessa Simpson
dd423bdb34
Fix empty subscriptions page crash
...
Fix issue where when Twitch returns an empty page of subscribers, the
app crashes due to trying to get response.data[0].user_id where
response.data[0] is undefined
Also adds some debug logging
2022-02-28 09:34:18 -07:00
Dessa Simpson
57991dc36a
Stringify twitchApiToken response for debug logging
2020-11-29 14:13:26 -07:00
Dessa Simpson
35aa0914a2
Remove unnecessary import from twitch.ts
2020-11-29 13:29:10 -07:00
Dessa Simpson
a86e8a5667
Implement cron
...
Fixes #22
2020-11-28 23:19:56 -07:00
Dessa Simpson
c3079a198d
Specify source of log messages in twitch.ts
2020-11-09 16:24:34 -07:00
Dessa Simpson
c808f02aa2
Stringify response object before logging on failed Twitch token refresh
2020-11-08 12:15:28 -07:00
Dessa Simpson
53da0eb687
Streamer-related fixes
2020-09-19 11:24:39 -07:00
Dessa Simpson
e9696fac25
Better logging system
2020-09-19 11:23:44 -07:00
Dessa Simpson
85b48f90f4
Add logging on failed API requests
2020-09-14 22:34:17 -07:00
Dessa Simpson
3c94c25458
Validate api token on authenticated requests
...
Also implements logic to refresh the token if a request fails.
Fixes #3
2020-08-15 19:12:35 -07:00
Dessa Simpson
df68c990fc
Implement Twitch API connector
2020-07-05 11:46:41 -07:00