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

Allow multiple uploads #3

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

Conversation

simonrobb
Copy link

Fixes #1.

  • Fix 1: When the operations JSON is unmarshalled, arrays are typed []interface{} not the expected []map[string]interface{}, so the if-branch relating to arrays on L173 is never called. The more specific typing isn't actually required so I've just updated the type assertion to operations.([]interface{}).
  • Fix 2: The indexing on L174 doesn't make sense; the value of entryPaths[i] is what we want (same as L177).

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.

Multiple file uploads in one mutation not working
1 participant