fix: make sure to skip the temp file.
This commit is contained in:
parent
1b25cfdd6c
commit
f363b7e871
@ -916,8 +916,8 @@ async def handle_upload(prompt_id: str, data, key: str, content_type_key: str, d
|
|||||||
items = data.get(key, [])
|
items = data.get(key, [])
|
||||||
for item in items:
|
for item in items:
|
||||||
# # Skipping temp files
|
# # Skipping temp files
|
||||||
# if item.get("type") == "temp":
|
if item.get("type") == "temp":
|
||||||
# continue
|
continue
|
||||||
await upload_file(
|
await upload_file(
|
||||||
prompt_id,
|
prompt_id,
|
||||||
item.get("filename"),
|
item.get("filename"),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user