From 9ec11e5165a7cac9acb9e559b6bb0ee55357a2b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9luchu?= Date: Sun, 31 May 2020 12:45:42 +0200 Subject: [PATCH] Add Genres to Seasons --- src/api/api.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/api/api.js b/src/api/api.js index b45ff41..a3ca6b8 100644 --- a/src/api/api.js +++ b/src/api/api.js @@ -153,7 +153,8 @@ const season = async (year, type) =>{ promises.push({ title: doc.title, malid: doc.mal_id, - image: doc.image_url + image: doc.image_url, + genres: doc.genres.map(x => x.name) }); });