Skip to content

Commit

Permalink
Merge pull request #63 from MAGICGrants/fix-fetchGetJSONAuthedStripe-arg
Browse files Browse the repository at this point in the history
Fix arg to fetchGetJSONAuthedStripe()
  • Loading branch information
Rucknium authored Jan 24, 2024
2 parents 2010501 + 5cbddcf commit 6e3d649
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion utils/api-helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,9 @@ export async function fetchGetJSONAuthedBTCPay(
}
}

export async function fetchGetJSONAuthedStripe() {
export async function fetchGetJSONAuthedStripe(
slug: string
) {
try {
const url = "https://api.stripe.com/v1/charges"
const auth = `Bearer ${process.env.STRIPE_SECRET_KEY}`
Expand Down

0 comments on commit 6e3d649

Please sign in to comment.