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

Adding attachments complains about mediatype #23

Closed
tester22 opened this issue Apr 29, 2022 · 4 comments · Fixed by #24
Closed

Adding attachments complains about mediatype #23

tester22 opened this issue Apr 29, 2022 · 4 comments · Fixed by #24
Assignees
Labels
bug Indicates a reported issue or malfunction that needs fixing

Comments

@tester22
Copy link

Hi,

I am getting 415 when trying to add attachments using the method bellow. Do you have any unit tests or examples on how this should be used?

async createAttachments<T = Models.ContentArray>(

@MrRefactoring
Copy link
Owner

Hi @tester22! Sorry for the late response, could you please provide an example of how you use this method?

@MrRefactoring
Copy link
Owner

So I took a look and got you :)

Yeah, looks like it's wouldn’t work

@MrRefactoring MrRefactoring added the bug Indicates a reported issue or malfunction that needs fixing label May 18, 2022
@MrRefactoring MrRefactoring self-assigned this May 18, 2022
@MrRefactoring MrRefactoring linked a pull request May 22, 2022 that will close this issue
MrRefactoring added a commit that referenced this issue May 23, 2022
* ContentAttachments fixes

* pipeline fixes
@MrRefactoring
Copy link
Owner

Fixed in v1.5.0. If you still have problems with adding attachments check e2e.test.ts file

@tester22
Copy link
Author

tester22 commented Jun 3, 2022

Thanks!

It works great now!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Indicates a reported issue or malfunction that needs fixing
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants