Fix: use correct filename with webhook (#9392)

This commit is contained in:
shamoon
2025-03-14 07:44:40 -07:00
committed by GitHub
parent 6babc61ba2
commit 7146a5f4fc

View File

@@ -1162,7 +1162,7 @@ def run_workflows(
) as f: ) as f:
files = { files = {
"file": ( "file": (
document.original_filename, filename,
f.read(), f.read(),
document.mime_type, document.mime_type,
), ),