Skip to content

Incorrect chunks array index#40

Open
Flynsarmy wants to merge 1 commit into
cinely:masterfrom
Flynsarmy:incorrect_chunks_index
Open

Incorrect chunks array index#40
Flynsarmy wants to merge 1 commit into
cinely:masterfrom
Flynsarmy:incorrect_chunks_index

Conversation

@Flynsarmy
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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