fix project listing
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
3b50d71184
commit
65c1a10ba1
|
@ -52,10 +52,14 @@
|
|||
|
||||
<div class="list-group">
|
||||
<?php
|
||||
$repos = json_decode(file_get_contents("https://tildegit.org/api/v1/orgs/tildeverse/repos?limit=100") ?? []);
|
||||
// have to use a token now? seems to be since gitea 1.19 - this one's read-only
|
||||
$repos = json_decode(file_get_contents(
|
||||
"https://tildegit.org/api/v1/orgs/tildeverse/repos?limit=100&token=448c748ee0082f46ccf246daf759874ca5d067cb") ?? []);
|
||||
|
||||
usort($repos, function ($repo1, $repo2) {
|
||||
return $repo2->updated_at <=> $repo1->updated_at;
|
||||
});
|
||||
|
||||
foreach ($repos as $repo):
|
||||
if ($repo->archived) continue; ?>
|
||||
<div class="list-group-item">
|
||||
|
|
Loading…
Reference in New Issue