-
Notifications
You must be signed in to change notification settings - Fork 71.9k
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
Bewest/api/create entries #40
Conversation
This is to help out with #35 |
I'd like to define the _id based on a hash of some key values to prevent storing duplicate values. I borrowed some code from tidepool for the api I added had in project-glu, https://github.com/jasoncalabrese/project-glu/blob/master/lib/models/entry.js#L31 Maybe something like that would work? With the current 2 day upload on startup we can upload lots of duplicate data. The _id hashing should probably happen in entities.js |
The api function now returns something useful in addition to doing a little bit of work. It used to do a little bit of work, now it returns the result.
Clean up and comment a bunch of code.
…ssue#40 Update version of Elixir to 1.9.3 and Erlang to 22.2 fixes nightscout#40
Fixes an issue where treatment units were all rewritten on load, rega…
Sketching out creating entries.
What do you guys think?