Skip to content

Commit

Permalink
providing API key
Browse files Browse the repository at this point in the history
  • Loading branch information
Marchand-Nicolas committed Jul 9, 2024
1 parent 40d09bb commit e1d4075
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions hooks/paymaster.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,8 @@ const usePaymaster = (callData: Call[], then: () => void) => {
method: "POST",
headers: {
"Content-Type": "application/json",
"api-key": process.env
.NEXT_PUBLIC_AVNU_PAYMASTER_API_KEY as string,
},
body: JSON.stringify({
userAddress: account.address,
Expand Down

0 comments on commit e1d4075

Please sign in to comment.