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

[bug] Fixed ipfs upload function #3

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

paulwongx
Copy link

@paulwongx paulwongx commented Mar 20, 2021

The ipfs callback upload function doesn't work for me anymore. Changed it to async/await as per ipfs-http-client documentation.

Also calling result.path instead of result[0].hash as the latter is outdated.

The ipfs callback upload function doesn't seem to work anymore. Changed it to the latest async/await. Also calling result.path instead of result[0].hash as that seems to be outdated.
Copy link
Author

@paulwongx paulwongx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added async to uploadImage() as well

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.

1 participant