Add documentation and correct typo

This commit is contained in:
2019-08-01 22:31:44 +02:00
parent 31bbcb52c7
commit 0c70ee8771
5 changed files with 262 additions and 42 deletions

View File

@@ -5,6 +5,6 @@ module.exports = {
}
function getDailyAverages(id) {
return db('sessions')
return db('dailyAverages')
.where({ id });
}