From 2b0d5d2a6db017f5eaeb88a4ec71a9590854e9c3 Mon Sep 17 00:00:00 2001 From: eug-vs Date: Fri, 4 Dec 2020 01:29:05 +0300 Subject: feat: add type to event --- src/containers/BsuFantomSection/EventForm.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/containers/BsuFantomSection/EventForm.tsx') 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 = ({ mutate }) => { const handleSubmit = () => { if (schedule && conferenceId) { const event: Partial = { - name, + type: 'class', schedule, context: { + name, attendanceId, conferenceId, participants: [] -- cgit v1.2.3