Added:
- Messenger, Mercure - chapter download flow (lelscan only)
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user