mirror of
https://github.com/flibusta-apps/telegram_files_cache_server.git
synced 2025-12-06 06:35:38 +01:00
Fix
This commit is contained in:
@@ -25,6 +25,6 @@ class CachedFile(ormar.Model):
|
||||
message_id: int = ormar.BigInteger(index=True) # type: ignore
|
||||
chat_id: int = ormar.BigInteger() # type: ignore
|
||||
|
||||
@property
|
||||
@ormar.property_field
|
||||
def data(self) -> dict:
|
||||
return {"message_id": self.message_id, "chat_id": self.chat_id}
|
||||
|
||||
Reference in New Issue
Block a user