projects
/
kraftakt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
sleepNotification(): Actually add converted sleep stages to the activities list.
[kraftakt.git]
/
kraftakt.go
diff --git
a/kraftakt.go
b/kraftakt.go
index
a2b8b13
..
4381596
100644
(file)
--- a/
kraftakt.go
+++ b/
kraftakt.go
@@
-511,6
+511,8
@@
func sleepNotification(ctx context.Context, s *fitbit.Subscription) error {
log.Warningf(ctx, "unexpected sleep level %v", stg.Level)
continue
}
+
+ activities = append(activities, a)
}
wg.Wait()