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 MIME type to "image/png" in ModelContent.png(_:) #61

Merged
merged 1 commit into from
Dec 13, 2023

Conversation

andrewheard
Copy link
Collaborator

The MIME type was erroneously being set to "image/jpeg" in the ModelContent.png(_:) convenience method.

Note: PNG images seem (in my limited testing) to be parsed correctly by the backend, even when the MIME type is set to "image/jpeg".

@github-actions github-actions bot added component:swift sdk Issue/PR related to Swift SDK status:awaiting review PR awaiting review from a maintainer labels Dec 13, 2023
@andrewheard andrewheard merged commit 052f060 into main Dec 13, 2023
8 checks passed
@andrewheard andrewheard deleted the ah/png-mime-type branch December 13, 2023 22:13
@github-actions github-actions bot removed the status:awaiting review PR awaiting review from a maintainer label Dec 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:swift sdk Issue/PR related to Swift SDK
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants