Skip to content

Commit

Permalink
Fix arg to fetchGetJSONAuthedStripe()
Browse files Browse the repository at this point in the history
  • Loading branch information
Rucknium authored Jan 24, 2024
1 parent 2010501 commit 5cbddcf
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 5cbddcf

Please sign in to comment.