From 37c8b6fc976a25cb96f3be25f74be39813b69bbc Mon Sep 17 00:00:00 2001 From: Shiv Bhonde Date: Tue, 13 Aug 2024 23:18:58 +0900 Subject: [PATCH] remove console log --- packages/nextjs/app/api/admin/signin/route.ts | 1 - packages/nextjs/utils/safe-signature.ts | 2 -- 2 files changed, 3 deletions(-) diff --git a/packages/nextjs/app/api/admin/signin/route.ts b/packages/nextjs/app/api/admin/signin/route.ts index b743418..7db5151 100644 --- a/packages/nextjs/app/api/admin/signin/route.ts +++ b/packages/nextjs/app/api/admin/signin/route.ts @@ -13,7 +13,6 @@ type AdminSignInBody = { export async function POST(req: Request) { try { const { signer, signature, isSafeSignature, chainId } = (await req.json()) as AdminSignInBody; - console.log("AdminSignInBody", { signer, signature, isSafeSignature, chainId }); if (!signer || !signature) { return new Response("Missing signer or signature", { status: 400 }); diff --git a/packages/nextjs/utils/safe-signature.ts b/packages/nextjs/utils/safe-signature.ts index b59626f..58acd18 100644 --- a/packages/nextjs/utils/safe-signature.ts +++ b/packages/nextjs/utils/safe-signature.ts @@ -56,8 +56,6 @@ export const validateSafeSignature = async ({ safeAddress: safeAddress, }); const safeMessage = hashSafeMessage(typedData); - console.log("safeMessage", safeMessage); - console.log("signature", signature); const isValidSignature = await protocolKit.isValidSignature(safeMessage, signature); return isValidSignature;