Closed samdev-7 closed 6 days ago
The endpoint /api/clock/:slackId considers the start time + duration as the end time and ignores pauses in the session. Relavent code
This results in lower than actual values being returned, sometimes into the negatives, for sessions that have previously been paused.
Solved with new /api/session/:slackId endpoint in #76. The old /api/clock/:slackId endpoint is depreciated.
/api/session/:slackId
/api/clock/:slackId
The endpoint /api/clock/:slackId considers the start time + duration as the end time and ignores pauses in the session. Relavent code
This results in lower than actual values being returned, sometimes into the negatives, for sessions that have previously been paused.