getAttachmentContent returns wrong data
RealBuddy opened this issue · comments
DanielL commented
Hi,
I guess there is an issue in this method:
https://mrrefactoring.github.io/jira.js/classes/Version3.IssueAttachments.html#getAttachmentContent
it returns anything but the arraybuffer
could you please add responseType: 'arraybuffer',
here
jira.js/src/version3/issueAttachments.ts
Line 57 in 4244e85
so it will look like this.
Vladislav Tupikin commented
Hi @RealBuddy! Let me check
DanielL commented
@MrRefactoring Thank you!
I've killed more than ten hours trying to decode the returned string :)
Vladislav Tupikin commented
Fixed in v2.15.4
DanielL commented
Thank you!