Explorar o código

Merge pull request #6382 from open-webui/dev

fix
Timothy Jaeryang Baek hai 6 meses
pai
achega
68916f7ec4
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      backend/open_webui/apps/webui/models/files.py

+ 2 - 2
backend/open_webui/apps/webui/models/files.py

@@ -44,8 +44,8 @@ class FileModel(BaseModel):
     data: Optional[dict] = None
     meta: Optional[dict] = None
 
-    created_at: int  # timestamp in epoch
-    updated_at: int  # timestamp in epoch
+    created_at: Optional[int]  # timestamp in epoch
+    updated_at: Optional[int]  # timestamp in epoch
 
 
 ####################