mirror of
https://github.com/System-End/site.git
synced 2026-04-19 16:28:21 +00:00
Use directory organisations API route
This commit is contained in:
parent
9781f0face
commit
452d79b64d
1 changed files with 1 additions and 1 deletions
|
|
@ -247,7 +247,7 @@ export async function getStaticProps() {
|
|||
})
|
||||
|
||||
const transparentAccounts = (
|
||||
await fetch('https://hcb.hackclub.com/api/v3/organizations').then(res =>
|
||||
await fetch('https://hcb.hackclub.com/api/v3/directory/organizations').then(res =>
|
||||
res.json()
|
||||
)
|
||||
).filter(account => account.category?.replaceAll(' ', '_') === 'hack_club_hq')
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue