liamzebedee / t1gym

Annotate your Nightscout charts and see your progress at a glance
https://t1gym.vercel.app
2 stars 1 forks source link

Chart not importing treatment events #8

Closed liamzebedee closed 4 years ago

liamzebedee commented 4 years ago

"It doesn't seem to import insulin or carb readings from nightscout so I would need to annotate that again which would be annoying" - Laura

https://t1gym.vercel.app/signup/beta?code=laura-16e7b55b-6c7d-422b-946d-422aa7320282

liamzebedee commented 4 years ago

This is one treatment from Laura's side:

{
 "_id": "5f43f0edbb612300044a9d68",
 "eventType": "Announcement",
 "created_at": "2020-08-24T16:54:35Z",
 "enteredBy": "AndroidAPS",
 "notes": "",
 "isAnnouncement": true,
 "NSCLIENT_ID": "1598288075841"
}
liamzebedee commented 4 years ago

Ever since https://github.com/liamzebedee/diasim2/issues/10, we've used the created_at field to get the time of the event. Looks like I changed the backend code, but not the frontend code. Derp.