[HCB] Disable API for creating demo orgs (#1570)

This commit is contained in:
Gary Tou 2025-07-23 09:40:07 -04:00 committed by GitHub
parent 4e8aa4940b
commit c8c5a82c44
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 0 deletions

View file

@ -73,6 +73,7 @@ function Field({
onChange={onChange}
value={value}
required={required}
disabled={true}
/>
</Box>
</Box>
@ -134,6 +135,7 @@ export default function Signup() {
py: 2
}}
type="submit"
disabled={true}
>
Create new account
</Button>

View file

@ -10,6 +10,8 @@ const applicationsTable = new AirtablePlus({
})
export default async function handler(req, res) {
return res.status(500).json({ status: 'error', error: 'API unsupported' })
if (req.method === 'POST') {
const data = JSON.parse(req.body)