Unverified Commit 03223655 authored by Florent Chehab's avatar Florent Chehab
Browse files

fix(courseFeedback): set untouched as readonly

* Otherwise if the front sends untouched in the payload the override logic doesn't work
parent 1db12b0b
Pipeline #98120 canceled with stages
......@@ -34,6 +34,7 @@ class CourseFeedbackSerializer(EssentialModuleSerializer):
"following_ease",
"untouched",
)
read_only_fields = ("untouched",)
COURSE_FIELDS = BaseModelSerializer.Meta.fields + (
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment