From 5507023b3997930d5e337f21863f38fa7c1b0dd2 Mon Sep 17 00:00:00 2001 From: capitanwesler Date: Mon, 15 Mar 2021 16:52:37 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=86=99=20Fixing=20moreInfo,=20wrong=20pro?= =?UTF-8?q?p=20type=20being=20object?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/controllers/DirectoryController.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controllers/DirectoryController.ts b/src/controllers/DirectoryController.ts index d842838..d036313 100644 --- a/src/controllers/DirectoryController.ts +++ b/src/controllers/DirectoryController.ts @@ -205,7 +205,7 @@ export default class DirectoryController { type: resultAnime.type || null, rating: resultAnime.score || null, genres: resultAnime.genres || null, - moreInfo: await animeExtraInfo(resultAnime.mal_id), + moreInfo: [await animeExtraInfo(resultAnime.mal_id)], promo: await getAnimeVideoPromo(resultAnime.mal_id), characters: await getAnimeCharacters(resultAnime.mal_id), related: await getRelatedAnimesFLV(resultAnime.id),