From 1e85a04ae043384cd78f2a8806e4ef749e515e43 Mon Sep 17 00:00:00 2001 From: Jordan Frankfurt Date: Thu, 8 Aug 2024 13:50:18 -0500 Subject: [PATCH] fix api handler type --- apps/web/pages/api/proofs/bns/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/web/pages/api/proofs/bns/index.ts b/apps/web/pages/api/proofs/bns/index.ts index c276058981..8ba2fb56cb 100644 --- a/apps/web/pages/api/proofs/bns/index.ts +++ b/apps/web/pages/api/proofs/bns/index.ts @@ -61,7 +61,7 @@ export default async function handler(req: NextApiRequest, res: NextApiResponse) return res.status(404).json({ error: 'address is not eligible for early access' }); } - const responseData: EarlyAccessProofResponse = { + const responseData: BNSProofResponse = { ...content, proofs, discountValidatorAddress: USERNAME_BNS_DISCOUNT_VALIDATORS[parsedChain],