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

Failing useFile hook with Blockstack 21 #7

Open
njordhov opened this issue Apr 28, 2020 · 1 comment
Open

Failing useFile hook with Blockstack 21 #7

njordhov opened this issue Apr 28, 2020 · 1 comment

Comments

@njordhov
Copy link
Owner

When using version 21 of the Blockstack SDK, the useFile hook fails if the file does not exist. This will present with an error in the log and no setter returned by the hook to create the file.

The reason is a change in the SDK: getFile now throws error on 404 instead of returning null.

@friedger
Copy link

fixed in 0.6.9 and higher

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

No branches or pull requests

2 participants