Connect handlers: don't call {fitbit,gfit}.NewClient().
authorFlorian Forster <ff@octo.it>
Wed, 31 Jan 2018 06:59:24 +0000 (07:59 +0100)
committerFlorian Forster <ff@octo.it>
Wed, 31 Jan 2018 06:59:24 +0000 (07:59 +0100)
commit5b245cc42860c980c321c1c1829cdc373d53ac53
tree17f68dcee28c0c3b7212dade9c982941847604bf
parent082997b663188efe938adea91660eb994405e62a
Connect handlers: don't call {fitbit,gfit}.NewClient().

Those constructors try to load the OAuth token from datastore, which
doesn't exist yet when these handlers are called.
fitbit/fitbit.go
gfit/gfit.go
kraftakt.go