Update event category for demo mode accounts

This commit is contained in:
Ella 2022-12-15 09:54:43 -05:00
parent cf5c37cead
commit 4615fbc4ff
3 changed files with 5 additions and 3 deletions

View file

@ -125,7 +125,8 @@ export default function Signup() {
eventName,
teamType,
teamNumber,
userEmail
userEmail,
category: 'robotics team'
})
})

View file

@ -92,7 +92,8 @@ export default function Signup() {
method: 'POST',
body: JSON.stringify({
eventName,
userEmail
userEmail,
category: 'hardware grant'
})
})

View file

@ -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: {