From 7a655f53b29a86b9f7e2798206ce9738811b5260 Mon Sep 17 00:00:00 2001 From: Duong Minh Quan <91663460+2uanDM@users.noreply.github.com> Date: Thu, 28 Mar 2024 04:22:39 +0700 Subject: [PATCH] fix(gogoanime): not able to fetch info when redis disabled (#590) --- src/routes/anime/gogoanime.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/anime/gogoanime.ts b/src/routes/anime/gogoanime.ts index cbd4ec54..68b32d61 100644 --- a/src/routes/anime/gogoanime.ts +++ b/src/routes/anime/gogoanime.ts @@ -56,7 +56,7 @@ const routes = async (fastify: FastifyInstance, options: RegisterOptions) => { .fetchAnimeInfo(id) .catch((err) => reply.status(404).send({ message: err })), redisCacheTime, - ) : gogoanime + ) : await gogoanime .fetchAnimeInfo(id) .catch((err) => reply.status(404).send({ message: err }));