Skip to content

Commit

Permalink
fix(gogoanime): not able to fetch info when redis disabled (#590)
Browse files Browse the repository at this point in the history
  • Loading branch information
2uanDM authored Mar 27, 2024
1 parent f4613b3 commit 7a655f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes/anime/gogoanime.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 }));

Expand Down

0 comments on commit 7a655f5

Please sign in to comment.