Verified Commit 7b25ecb2 authored by Peter Stanko's avatar Peter Stanko
Browse files

State should be updatable

parent 5bdb05db
Pipeline #31390 failed with stage
in 7 minutes and 28 seconds
......@@ -316,7 +316,7 @@ def _get_class_based_on_client_type(client_type):
class Course(db.Model, EntityBase, NamedMixin):
"""Course model
"""
UPDATABLE = ['faculty_id']
UPDATABLE = ['faculty_id', 'state']
BASE_PARAMS = ['id', *UPDATABLE]
LISTABLE = [*BASE_PARAMS]
__tablename__ = 'course'
......
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