summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhorus2022-11-21 00:36:40 +0100
committerhorus2022-11-21 00:36:40 +0100
commit11d728c42a8ce790d3d577ae0f2e33d38ede0821 (patch)
tree99c7827c70ecc0058a476ac615c1d56d64e63d3c
parente353f01996a1606d5f9147ec4a1e505814d69f02 (diff)
downloadsenpai-11d728c42a8ce790d3d577ae0f2e33d38ede0821.tar.gz
Fix for v4 to get correct image url
-rw-r--r--app/Anime.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Anime.php b/app/Anime.php
index ab5a3fe..9a8f080 100644
--- a/app/Anime.php
+++ b/app/Anime.php
@@ -63,7 +63,7 @@ class Anime extends Model {
*/
$this->url = $animeInfo->GetUrl();
- $this->image_url = $animeInfo->getImageUrl();
+ $this->image_url = $animeInfo->getImages()->getJpg()->getImageUrl();
$this->title_eng = $animeInfo->getTitleEnglish();
$this->title_rom = $animeInfo->getTitle();