fix: styles on monitoring and search buttons

This commit is contained in:
2025-05-09 16:25:35 -05:00
parent 4287b52bd4
commit 4506306377
3 changed files with 26 additions and 14 deletions

View File

@@ -38,8 +38,8 @@ final class SearchController extends AbstractController
): Response {
$cacheId = sprintf("page.%s.%s", $input->mediaType, $input->tmdbId);
return $cache->get($cacheId, function (ItemInterface $item) use ($input) {
$item->expiresAt(Carbon::now()->addHour()->setMinute(0)->setSecond(0));
// return $cache->get($cacheId, function (ItemInterface $item) use ($input) {
// $item->expiresAt(Carbon::now()->addHour()->setMinute(0)->setSecond(0));
$result = $this->getMediaInfoHandler->handle($input->toCommand());
return $this->render('search/result.html.twig', [
'results' => $result,
@@ -52,6 +52,6 @@ final class SearchController extends AbstractController
'episode' => ''
]
]);
});
// });
}
}