Skip to content
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

Fix image upload handler to use content-type #1739

Merged
merged 2 commits into from
Apr 23, 2022

Conversation

ndbeals
Copy link
Contributor

@ndbeals ndbeals commented Apr 23, 2022

  • Update image upload handler to be content-type aware
  • Update handle_image made filetype required and not optional
  • Updated handle_image usages to reflect changes to definition

Fixes #1738

ndbeals added 2 commits April 23, 2022 00:11
Update handle_image: made filetype required and not optional
Updated handle_image usage to reflect changes
@vabene1111
Copy link
Collaborator

thank you very much, i am a bit of a noob when it comes to files, filetypes and working with files, this soultion looks clean, easy and seem to do what it is supposed to do, thank you.

@vabene1111 vabene1111 merged commit b9fb78c into TandoorRecipes:develop Apr 23, 2022
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.

Recipe image does not respect content-type
2 participants