|
|
@@ -366,7 +366,7 @@ $app->get('/homepage/healthchecks/{tags}', function ($request, $response, $args)
|
|
|
});
|
|
|
$app->get('/homepage/ombi/requests', function ($request, $response, $args) {
|
|
|
$Organizr = ($request->getAttribute('Organizr')) ?? new Organizr();
|
|
|
- $Organizr->getOmbiRequests();
|
|
|
+ $Organizr->getOmbiRequests('both', $Organizr->config['ombiLimit']);
|
|
|
$response->getBody()->write(jsonE($GLOBALS['api']));
|
|
|
return $response
|
|
|
->withHeader('Content-Type', 'application/json;charset=UTF-8')
|