Merge pull request #63 from MAGICGrants/fix-fetchGetJSONAuthedStripe-arg

Fix arg to fetchGetJSONAuthedStripe()
This commit is contained in:
Rucknium
2024-01-24 18:54:42 +00:00
committed by GitHub

View File

@@ -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}`