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: activity upload #42

Merged
merged 1 commit into from
Mar 14, 2023
Merged

fix: activity upload #42

merged 1 commit into from
Mar 14, 2023

Conversation

tihawk
Copy link
Contributor

@tihawk tihawk commented Feb 9, 2023

  • changed api form specs
  • changed formdata creation

Hi! I tried using your lib, but I couldn't upload an activity. First thing I noticed, is that the name of the formdata value is different:
image
(used to be just file)
But also for some reason it kept breaking for me, until I changed the way the formData is built, following the request.js docs as seen here under custom_file.

Works for me now :D

- changed api form specs

- changed formdata creation
@Pythe1337N
Copy link
Owner

Thanks for your submission! I'll do a merge and release after I've had the time to test it out.

@i1skn
Copy link

i1skn commented Mar 14, 2023

This does fix the issue for me! Thanks @tihawk!

@Pythe1337N Pythe1337N merged commit 2c62f55 into Pythe1337N:master Mar 14, 2023
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.

3 participants