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

replicate.files is undefined #277

Closed
treeder opened this issue Jul 3, 2024 · 5 comments · Fixed by #278
Closed

replicate.files is undefined #277

treeder opened this issue Jul 3, 2024 · 5 comments · Fixed by #278

Comments

@treeder
Copy link

treeder commented Jul 3, 2024

Tried to upload a file, but getting replicate.files is undefined.

Just console.log(replicate.files) to reproduce.

@mattt
Copy link
Contributor

mattt commented Jul 3, 2024

Hi @treeder. What version of the library are you using? The files API was first added in v0.30.0.

@treeder
Copy link
Author

treeder commented Jul 3, 2024

I'm using 0.30.2

@mattt
Copy link
Contributor

mattt commented Jul 3, 2024

Ah, I see what happened. Thanks for pointing this out. Got a fix in #278.

@mattt mattt closed this as completed in #278 Jul 3, 2024
@mattt
Copy link
Contributor

mattt commented Jul 3, 2024

Thanks again for opening an issue about this @treeder. This should now be fixed in v0.31.0

@treeder
Copy link
Author

treeder commented Jul 3, 2024

Awesome, thanks for the quick fix!

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 a pull request may close this issue.

2 participants