Skip to content

Commit

Permalink
Fix Serializa
Browse files Browse the repository at this point in the history
  • Loading branch information
logos914 committed Nov 25, 2024
1 parent e134fcd commit d31ed50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion models/vehiculo.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def serialize(self):
return {
'id': self.id,
'modelo': self.modelo.serialize() if self.modelo else None,
'operador': self.operador if self.operador else None,
'operador': self.operador.serialize() if self.operador else None,
'matricula': self.matricula,
'id_traccar': self.id_traccar,
'estado': self.estado,
Expand Down

0 comments on commit d31ed50

Please sign in to comment.