mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-02-16 15:19:55 +03:00
fix(twitch) (#3685)
This commit is contained in:
parent
a3c29f3a52
commit
39d6710798
1 changed files with 3 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue