projects
/
kraftakt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Package fitbit: Append the collection type to the subscriber ID.
[kraftakt.git]
/
kraftakt.go
diff --git
a/kraftakt.go
b/kraftakt.go
index
f6b3d9c
..
092cad3
100644
(file)
--- a/
kraftakt.go
+++ b/
kraftakt.go
@@
-314,7
+314,7
@@
func handleNotifications(ctx context.Context, payload []byte) error {
}
func handleNotification(ctx context.Context, s *fitbit.Subscription) error {
- u, err :=
app.UserBy
ID(ctx, s.SubscriptionID)
+ u, err :=
fitbit.UserFromSubscriber
ID(ctx, s.SubscriptionID)
if err != nil {
return err
}