summaryrefslogtreecommitdiff
path: root/app/Libraries
diff options
context:
space:
mode:
Diffstat (limited to 'app/Libraries')
-rw-r--r--app/Libraries/Background.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Libraries/Background.php b/app/Libraries/Background.php
index ed7e9a4..7f5f709 100644
--- a/app/Libraries/Background.php
+++ b/app/Libraries/Background.php
@@ -29,7 +29,7 @@ class Background {
return;
}
- $airing = Airing::where('mal_id', $stats->mal_id)->get()->first();
+ $airing = Airing::where('mal_id', $stats->mal_id)->get()->last();
if ( is_null($airing) ) {
$airing = new Airing();
}