mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-01-17 14:18:35 +01:00
fix(twitch) (#3685)
This commit is contained in:
parent
a3c29f3a52
commit
39d6710798
@ -96,6 +96,9 @@ EOD;
|
||||
throw new \Exception(sprintf('Unable to find channel `%s`', $channel));
|
||||
}
|
||||
$user = $data->user;
|
||||
if ($user->videos === null) {
|
||||
throw new HttpException('Service Unavailable', 503);
|
||||
}
|
||||
foreach ($user->videos->edges as $edge) {
|
||||
$video = $edge->node;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user