Selaa lähdekoodia

fix Ombi Homepage item again (#1324)

CauseFX 5 vuotta sitten
vanhempi
commit
1db253e97b
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      api/v2/routes/homepage.php

+ 1 - 1
api/v2/routes/homepage.php

@@ -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')