summaryrefslogtreecommitdiff
path: root/app/Libraries/AnimeSchedule.php
diff options
context:
space:
mode:
authorhorus2020-02-24 00:52:12 +0100
committerhorus2020-02-24 00:52:12 +0100
commit38843f78bfbd27969df853377696dc8f8c71a921 (patch)
treed40f35eda1c39e727c73a7037e20d463ef03aaf1 /app/Libraries/AnimeSchedule.php
parent2cd1589d6ae7095770e8c5dda10b138861d70501 (diff)
downloadsenpai-38843f78bfbd27969df853377696dc8f8c71a921.tar.gz
Adds models for score tracking.
Diffstat (limited to 'app/Libraries/AnimeSchedule.php')
-rw-r--r--app/Libraries/AnimeSchedule.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Libraries/AnimeSchedule.php b/app/Libraries/AnimeSchedule.php
index c81d0f7..4c16f11 100644
--- a/app/Libraries/AnimeSchedule.php
+++ b/app/Libraries/AnimeSchedule.php
@@ -2,7 +2,7 @@
namespace App\Libraries;
use App\Libraries\AnimeSchedule;
-use App\Anime;
+use App\AnimeWatching;
use Carbon\Carbon;
use Jikan\MyAnimeList\MalClient;
@@ -48,7 +48,7 @@ class AnimeSchedule {
(new \Jikan\Request\Anime\AnimeRequest( $entry->getMalID() ))
);
- $anime = new Anime( $entry->getMalID() );
+ $anime = new AnimeWatching( $entry->getMalID(), false );
$anime->title_eng = $data->title->english;
$anime->title_rom = $data->title->romaji;