Commit c44177b
fix(uploads): allow non-document execution outputs in presigned route
The execution branch of the presigned upload route called validateFileType,
which only permits documents — but workflow execution outputs are arbitrary
by design (images, audio, video, code). The legacy /api/files/upload
execution branch had no docs-only gate, so the staging refactor to
presigned PUTs regressed parity. Switch execution to validateAttachmentFileType
to match prior behavior.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>1 parent c508a0d commit c44177b
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
175 | 175 | | |
176 | 176 | | |
177 | 177 | | |
178 | | - | |
| 178 | + | |
179 | 179 | | |
180 | 180 | | |
181 | 181 | | |
| |||
0 commit comments