Thanks to visit codestin.com
Credit goes to github.com

Skip to content

fix: set content type when uploading edited template #15440

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 8, 2024

Conversation

ethanndickson
Copy link
Member

@ethanndickson ethanndickson commented Nov 8, 2024

Fixes a bug where a file produced by generateVersionFiles (as used when uploading a web UI edited template) produced a file where the type field was unset.
This meant the change in #15410 used the unset type value as the content header when uploading, causing it to always fail.

Copy link
Member Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @ethanndickson and the rest of your teammates on Graphite Graphite

@ethanndickson ethanndickson requested a review from sreya November 8, 2024 05:48
@ethanndickson ethanndickson marked this pull request as ready for review November 8, 2024 05:48
@ethanndickson ethanndickson enabled auto-merge (squash) November 8, 2024 05:50
@ethanndickson ethanndickson force-pushed the ethan/fix-template-edit branch from 8935e21 to 19fad93 Compare November 8, 2024 05:51
@ethanndickson ethanndickson merged commit d2e4969 into main Nov 8, 2024
28 checks passed
@ethanndickson ethanndickson deleted the ethan/fix-template-edit branch November 8, 2024 05:59
stirby pushed a commit that referenced this pull request Dec 11, 2024
Fixes a bug where a file produced by `generateVersionFiles` (as used
when uploading a web UI edited template) produced a file where the
`type` field was unset.
This meant the change in #15410 used the unset type value as the content
header when uploading, causing it to always fail.

(cherry picked from commit d2e4969)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants