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

Feedback for “How to upload data using web3.storage” #80

Open
kfastov opened this issue Feb 11, 2024 · 0 comments
Open

Feedback for “How to upload data using web3.storage” #80

kfastov opened this issue Feb 11, 2024 · 0 comments

Comments

@kfastov
Copy link

kfastov commented Feb 11, 2024

The page includes the following line in the code snippet:

  const apiUrl = `/api/w3up-delegation/${client.agent().did()}`

But this code doesn't work because client.agent is not a function,
but the following code works fine:

  const apiUrl = `/api/w3up-delegation/${client.agent.did()}`

I use the latest [email protected] btw

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

1 participant