Episodes:
diff --git a/app/views/anime/edit.php b/app/views/anime/edit.php
index 3e70adb9..08707720 100644
--- a/app/views/anime/edit.php
+++ b/app/views/anime/edit.php
@@ -13,7 +13,7 @@
- = $helper->img($item['anime']['image']); ?>
+ = $helper->img($urlGenerator->assetUrl('images/anime', "{$item['anime']['id']}.jpg")) ?>
|
diff --git a/src/API/Kitsu/Transformer/AnimeListTransformer.php b/src/API/Kitsu/Transformer/AnimeListTransformer.php
index a628b510..5cd72d6e 100644
--- a/src/API/Kitsu/Transformer/AnimeListTransformer.php
+++ b/src/API/Kitsu/Transformer/AnimeListTransformer.php
@@ -82,6 +82,7 @@ class AnimeListTransformer extends AbstractTransformer {
'ended' => $anime['endDate']
],
'anime' => [
+ 'id' => $animeId,
'age_rating' => $anime['ageRating'],
'title' => $anime['canonicalTitle'],
'titles' => Kitsu::filterTitles($anime),
diff --git a/tests/API/Kitsu/Transformer/__snapshots__/AnimeListTransformerTest__testTransform__1.php b/tests/API/Kitsu/Transformer/__snapshots__/AnimeListTransformerTest__testTransform__1.php
index e1add9b6..0d1ac07b 100644
--- a/tests/API/Kitsu/Transformer/__snapshots__/AnimeListTransformerTest__testTransform__1.php
+++ b/tests/API/Kitsu/Transformer/__snapshots__/AnimeListTransformerTest__testTransform__1.php
@@ -15,6 +15,7 @@
),
'anime' =>
array (
+ 'id' => '12243',
'age_rating' => NULL,
'title' => 'Kobayashi-san Chi no Maid Dragon',
'titles' =>