Fix: use correct filename with webhook

This commit is contained in:
shamoon
2025-03-13 07:23:06 -07:00
parent 6babc61ba2
commit 0a54e742f3

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,
), ),