From 6c9fcc68854388f886b964078a1fa3d7a0c751cb Mon Sep 17 00:00:00 2001 From: malloc-nbytes Date: Mon, 6 Jan 2025 17:11:40 -0600 Subject: [PATCH] fixed typo that prevented from creating an assessment task --- BackEndFlask/models/assessment_task.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/BackEndFlask/models/assessment_task.py b/BackEndFlask/models/assessment_task.py index bf212f798..018a455df 100644 --- a/BackEndFlask/models/assessment_task.py +++ b/BackEndFlask/models/assessment_task.py @@ -100,8 +100,8 @@ def create_assessment_task(assessment_task): due_date=datetime.strptime(assessment_task["due_date"], '%Y-%m-%dT%H:%M:%S.%fZ'), time_zone=assessment_task["time_zone"], show_suggestions=assessment_task["show_suggestions"], - locked=assessment_task["locked"], - published=assessment_task["published"], + locked=False, + published=True, show_ratings=assessment_task["show_ratings"], unit_of_assessment=assessment_task["unit_of_assessment"], create_team_password=assessment_task["create_team_password"],