mirror of
https://github.com/System-End/site.git
synced 2026-04-19 22:05:11 +00:00
[API] Drop unnecessary redirect
We `router.push` to the success screen. So, the redirect is unnecessary.
This commit is contained in:
parent
e853857ad1
commit
9062fcf7b3
1 changed files with 1 additions and 1 deletions
|
|
@ -62,7 +62,7 @@ export default async function handler(req, res) {
|
|||
Accommodations: data.accommodations,
|
||||
'HCB ID': r.id
|
||||
})
|
||||
res.writeHead(302, { Location: '/hcb/apply/success' }).end()
|
||||
res.status(200).end();
|
||||
})
|
||||
.catch(error => {
|
||||
console.error(error)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue