projects
/
kraftakt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
38fe326
)
sleepNotification(): Actually add converted sleep stages to the activities list.
author
Florian Forster
<ff@octo.it>
Fri, 2 Feb 2018 07:03:11 +0000
(08:03 +0100)
committer
Florian Forster
<ff@octo.it>
Fri, 2 Feb 2018 07:03:11 +0000
(08:03 +0100)
kraftakt.go
patch
|
blob
|
history
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
}
log.Warningf(ctx, "unexpected sleep level %v", stg.Level)
continue
}
+
+ activities = append(activities, a)
}
wg.Wait()
}
wg.Wait()