1
Fork 0
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:
stefanogoldoni 2021-05-02 23:01:10 +02:00
parent b713be87d5
commit b58ef760e3

View file

@ -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,
}