diff --git a/bot/src/bot_graphql/mutations/scheduled_event_mutation.py b/bot/src/bot_graphql/mutations/scheduled_event_mutation.py index c3e2dbbc..6544bb42 100644 --- a/bot/src/bot_graphql/mutations/scheduled_event_mutation.py +++ b/bot/src/bot_graphql/mutations/scheduled_event_mutation.py @@ -45,7 +45,7 @@ class ScheduledEventMutation(QueryABC): input["channelId"] if "channelId" in input else None, datetime.strptime(input["startTime"], "%Y-%m-%dT%H:%M:%S.%fZ"), datetime.strptime(input["endTime"], "%Y-%m-%dT%H:%M:%S.%fZ") if "endTime" in input else None, - input["entityType"], + EntityType(int(input["entityType"])), input["location"] if "location" in input else None, server, )