mirror of
https://github.com/pds-nest/nest.git
synced 2024-11-22 04:54:18 +00:00
corretta serializzazione di type
This commit is contained in:
parent
b713be87d5
commit
b58ef760e3
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue