Add dailyAverage when providing complete session

This commit is contained in:
2019-08-01 20:43:43 +02:00
parent 856f8c753d
commit c36391321c
7 changed files with 67 additions and 5 deletions
+1 -1
View File
@@ -60,4 +60,4 @@ Sleep Tracker is intended for anyone interested in improving their sleep and hea
- `PUT /api/users/sessions/:id` - update a session by id
- `DELETE /api/users/sessions/:id` - delete a session by id
- `GET /api/users/:id/dailyaverages` - fetch a list of last 30 daily averages by user id
- `GET /api/users/:id/averages` - fetch a list of last 30 daily averages by user id