We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I use the API to upload attachments to a comment:
ticket.comment.uploads << file ticket.save!
However, all the uploads lost their content_type.
content_type
I've tried the following too:
ticket.comment.uploads << { :filename => file.original_filename, :file => file.path, :content_type => file.content_type }
But the content type is still missing when I later fetch the attachment for the comment.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I use the API to upload attachments to a comment:
However, all the uploads lost their
content_type
.I've tried the following too:
But the content type is still missing when I later fetch the attachment for the comment.
The text was updated successfully, but these errors were encountered: