Skip to content

Commit

Permalink
Merge pull request #8 from amhedcb/justinlee/transfer-with-auth
Browse files Browse the repository at this point in the history
[TRIVIAL] Get transfer with authorization working with Base USDC
  • Loading branch information
justin-lee-cb authored Oct 2, 2024
2 parents 993e6dc + 6f65e4a commit 7f4f1bd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/pages/api/submitPaymentTx/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ export default async function handler(
}

const { message, signature, uuid, txHash } = req.body;
const { chainId, from, to, value, nonce, validAfter, validBefore } = message;
const { from, to, value, nonce, validAfter, validBefore } = message.message;
const { chainId } = message.domain;

const sponsoredInfo = sponsoredUsdcMapping.find((s) => s.chainId === Number(chainId));
if (!sponsoredInfo) {
Expand Down

0 comments on commit 7f4f1bd

Please sign in to comment.