mirror of
https://github.com/System-End/site.git
synced 2026-04-19 18:35:12 +00:00
Update event category for demo mode accounts
This commit is contained in:
parent
cf5c37cead
commit
4615fbc4ff
3 changed files with 5 additions and 3 deletions
|
|
@ -125,7 +125,8 @@ export default function Signup() {
|
|||
eventName,
|
||||
teamType,
|
||||
teamNumber,
|
||||
userEmail
|
||||
userEmail,
|
||||
category: 'robotics team'
|
||||
})
|
||||
})
|
||||
|
||||
|
|
|
|||
|
|
@ -92,7 +92,8 @@ export default function Signup() {
|
|||
method: 'POST',
|
||||
body: JSON.stringify({
|
||||
eventName,
|
||||
userEmail
|
||||
userEmail,
|
||||
category: 'hardware grant'
|
||||
})
|
||||
})
|
||||
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ export default async function handler(req, res) {
|
|||
body: JSON.stringify({
|
||||
email: data.userEmail,
|
||||
name: data.eventName,
|
||||
category: 'robotics team'
|
||||
category: data.eventCategory
|
||||
}),
|
||||
method: 'POST',
|
||||
headers: {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue