Update opensource.js

This commit is contained in:
Sam Poder 2023-07-24 15:44:05 -04:00 committed by GitHub
parent dc92341f28
commit 854ff3ea47
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -240,7 +240,7 @@ export async function getStaticProps() {
await fetch('https://bank.hackclub.com/api/v3/organizations').then(res =>
res.json()
)
).filter(account => account.category.replaceAll(' ', '_') === 'hack_club_hq')
).filter(account => account.category?.replaceAll(' ', '_') === 'hack_club_hq')
return { props: { repos, transparentAccounts }, revalidate: 30 }
}