From 5343006abeb3e2a77fc038273bd27df8fa91051e Mon Sep 17 00:00:00 2001 From: Dong-Ha Kim Date: Wed, 11 Sep 2024 20:21:27 +0700 Subject: [PATCH] fixup --- api/chains.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/chains.ts b/api/chains.ts index bf6cd3666..ec2d59111 100644 --- a/api/chains.ts +++ b/api/chains.ts @@ -25,7 +25,7 @@ const handler = async ( ) => { const logger = getLogger(); logger.debug({ - at: "TokenList", + at: "Chains", message: "Query data", query, }); @@ -66,7 +66,7 @@ const handler = async ( response.setHeader("Cache-Control", "s-maxage=3600"); response.status(200).json(filteredChains); } catch (error: unknown) { - return handleErrorCondition("token-list", response, logger, error); + return handleErrorCondition("chains", response, logger, error); } };