From d53de4ac9a11de35c40a26f639b09ec9a822ec41 Mon Sep 17 00:00:00 2001 From: NOctu1412 Date: Fri, 21 Jun 2024 23:47:16 +0200 Subject: [PATCH] more loooogs --- client/pages/api/otp/fire/send.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/pages/api/otp/fire/send.ts b/client/pages/api/otp/fire/send.ts index efb4e3e..5fe36d3 100644 --- a/client/pages/api/otp/fire/send.ts +++ b/client/pages/api/otp/fire/send.ts @@ -73,7 +73,7 @@ export default async function handler(req: NextApiRequest, res: NextApiResponse) console.log(error.response); console.log(error.response.data) console.log(error.response.data.error) - res.status(400).json({ status: "error" }); + res.status(400).json({ status: "error", errorData: error }); } )