mirror of
https://github.com/MAGICGrants/campaign-site.git
synced 2026-01-09 12:27:59 -05:00
Merge pull request #63 from MAGICGrants/fix-fetchGetJSONAuthedStripe-arg
Fix arg to fetchGetJSONAuthedStripe()
This commit is contained in:
@@ -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}`
|
||||
|
||||
Reference in New Issue
Block a user