prevent error when rate limit for gh api
This commit is contained in:
parent
19aeb0c63f
commit
0e5940404d
File diff suppressed because one or more lines are too long
|
@ -134,7 +134,7 @@
|
|||
<hr>
|
||||
<?php
|
||||
ini_set('user_agent', 'tilde-team');
|
||||
foreach (json_decode(file_get_contents("https://api.github.com/orgs/tilde-team/repos")) as $repo): ?>
|
||||
foreach (json_decode(file_get_contents("https://api.github.com/orgs/tilde-team/repos")) ?? [] as $repo): ?>
|
||||
|
||||
<div class="list-group">
|
||||
<div class="list-group-item">
|
||||
|
|
Loading…
Reference in New Issue