diff --git a/querybook/server/logic/demo.py b/querybook/server/logic/demo.py index 04b836f3c..984761d97 100644 --- a/querybook/server/logic/demo.py +++ b/querybook/server/logic/demo.py @@ -72,7 +72,7 @@ def set_up_demo(uid: int, session=None): "task": "tasks.update_metastore.update_metastore", "cron": "0 0 * * *", "args": [metastore_id], - "task_type": ScheduleTaskType.PROD, + "task_type": ScheduleTaskType.PROD.value, "enabled": True, }, # commit=False,