- Messenger, Mercure
- chapter download flow (lelscan only)
This commit is contained in:
Jérémy Guillot
2024-06-13 18:11:11 +02:00
parent f88fa2c232
commit bc85649789
24 changed files with 744 additions and 78 deletions

View File

@@ -30,12 +30,12 @@ class MangaSearch
*/
public function getMangas(): Collection|null
{
return new ArrayCollection($this->mangaRepository->findAll());
// return new ArrayCollection($this->mangaRepository->findAll());
// if ($this->query === null || $this->query === '') {
// return null;
// }
//
// return $this->mangadexProvider->search($this->query);
if ($this->query === null || $this->query === '') {
return null;
}
return $this->mangadexProvider->search($this->query);
}
}