Skip to content

Commit

Permalink
remove console log
Browse files Browse the repository at this point in the history
  • Loading branch information
technophile-04 committed Aug 13, 2024
1 parent c113bfe commit 37c8b6f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion packages/nextjs/app/api/admin/signin/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 });
Expand Down
2 changes: 0 additions & 2 deletions packages/nextjs/utils/safe-signature.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 37c8b6f

Please sign in to comment.