added return data

This commit is contained in:
2025-04-27 19:25:04 -04:00
parent 56c7e594cb
commit 0238fa6bf0
2 changed files with 6 additions and 1 deletions
+1 -1
View File
@@ -222,6 +222,6 @@ class Loan(db.Model):
'created_at': self.created_at.isoformat() if self.created_at else None,
'updated_at': self.updated_at.isoformat() if self.updated_at else None
}
def __repr__(self):
return f'<Loan {self.id}>'