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

saveZotero inefficient #26

Open
wildintellect opened this issue Nov 16, 2018 · 0 comments
Open

saveZotero inefficient #26

wildintellect opened this issue Nov 16, 2018 · 0 comments

Comments

@wildintellect
Copy link
Collaborator

Currently when saving we request the online version of record, update the Extra and the push back. We already have a copy of the record when we loaded the plugin, we can take that json, modify the Extra and push back. Should save 1 request per item, which reduces api calls by 50%.

  1. pass data_json to saveZotero
  2. get json by key
  3. sub Extra
  4. Serialize json
  5. push new value
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant