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

Incorrect chunks array index #40

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Incorrect chunks array index #40

wants to merge 1 commit into from

Conversation

Flynsarmy
Copy link
Contributor

In create_upload you were using chunks_uploaded but when resuming an upload you're checking for chunks. This PR fixes that.

@gabipurcaru
Copy link
Collaborator

Yes, but your PR changes 'chunks_uploaded' into 'chunks' in both places; the JSON key should be named 'chunk', but the db columns is named 'chunks_uploaded'

@Flynsarmy
Copy link
Contributor Author

I'm not sure I understand. My PR changes chunks to chunks_uploaded. Not sure where you get that the JSON key needs to be named chunk from.

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.

2 participants