aboutsummaryrefslogtreecommitdiff
path: root/src/containers/BsuFantomSection/EventForm.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/containers/BsuFantomSection/EventForm.tsx')
-rw-r--r--src/containers/BsuFantomSection/EventForm.tsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/containers/BsuFantomSection/EventForm.tsx b/src/containers/BsuFantomSection/EventForm.tsx
index 528636f..64d4165 100644
--- a/src/containers/BsuFantomSection/EventForm.tsx
+++ b/src/containers/BsuFantomSection/EventForm.tsx
@@ -20,9 +20,10 @@ const EventForm: React.FC<PropTypes> = ({ mutate }) => {
const handleSubmit = () => {
if (schedule && conferenceId) {
const event: Partial<Event> = {
- name,
+ type: 'class',
schedule,
context: {
+ name,
attendanceId,
conferenceId,
participants: []