mirror of
https://github.com/MAGICGrants/campaign-site.git
synced 2026-01-09 12:27:59 -05:00
Pass project ID to Stripe API from [slug].tsx
This commit is contained in:
@@ -184,7 +184,7 @@ export async function getServerSideProps({ params }: { params: any }) {
|
||||
const crypto = await fetchGetJSONAuthedBTCPay(projects[i].slug)
|
||||
xmr = await crypto.xmr
|
||||
btc = await crypto.btc
|
||||
usd = await fetchGetJSONAuthedStripe()
|
||||
usd = await fetchGetJSONAuthedStripe(projects[i].slug)
|
||||
}
|
||||
|
||||
stats[projects[i].slug] = { xmr, btc, usd }
|
||||
|
||||
Reference in New Issue
Block a user