mirror of
https://github.com/System-End/site.git
synced 2026-04-19 15:18:18 +00:00
[HCB] Disable API for creating demo orgs (#1570)
This commit is contained in:
parent
4e8aa4940b
commit
c8c5a82c44
2 changed files with 4 additions and 0 deletions
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue