mirror of
https://github.com/pds-nest/nest.git
synced 2024-11-22 13:04:19 +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):
|
def to_json(self):
|
||||||
return {
|
return {
|
||||||
"id": self.id,
|
"id": self.id,
|
||||||
"type": self.type,
|
"type": self.type.value,
|
||||||
"content": self.content,
|
"content": self.content,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue