diff --git a/code/backend/nest_backend/database/tables/Condition.py b/code/backend/nest_backend/database/tables/Condition.py index 2124534..e4da66f 100644 --- a/code/backend/nest_backend/database/tables/Condition.py +++ b/code/backend/nest_backend/database/tables/Condition.py @@ -19,6 +19,6 @@ class Condition(Base.Model): def to_json(self): return { "id": self.id, - "type": self.type, + "type": self.type.value, "content": self.content, }