mirror of
https://github.com/flibusta-apps/telegram_files_cache_server.git
synced 2025-12-06 14:45:36 +01:00
Fix bug
This commit is contained in:
@@ -47,7 +47,7 @@ async def delete_cached_file(object_id: int, object_type: str):
|
||||
@router.post("/", response_model=CachedFile)
|
||||
async def create_cached_file(data: CreateCachedFile):
|
||||
return await CachedFileDB.objects.create(
|
||||
*data.dict()
|
||||
**data.dict()
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user