Quellcode durchsuchen

Merge pull request #6382 from open-webui/dev

fix
Timothy Jaeryang Baek vor 6 Monaten
Ursprung
Commit
68916f7ec4
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  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
 
 
 ####################