Fitbit / developer-bridge

TypeScript implementations of the Fitbit Developer Bridge
https://dev.fitbit.com
20 stars 17 forks source link

Fix two issues where login is broken #159

Closed Hexxeh closed 4 years ago

Hexxeh commented 4 years ago

AppAuthJS changed it's code to return an OAuth field as a string rather than a number, breaking our validation. This meant we'd immediately throw away the just-acquired login tokens every time you logged in. Corrected the types to fix this.

Also fixed https://github.com/Fitbit/developer-bridge/issues/148 since it's a minor fix that has a similar effect.

Signed-off-by: Liam McLoughlin lmcloughlin@fitbit.com

coveralls commented 4 years ago

Coverage Status

Coverage increased (+0.01%) to 94.317% when pulling a777f6aeb90e3192386af1b3fb0bf2a048c3717d on lmcloughlin/fix-login into c437561306cc281d7cc52de09fa682b53a3fc246 on master.

coveralls commented 4 years ago

Coverage Status

Coverage increased (+0.01%) to 94.317% when pulling a777f6aeb90e3192386af1b3fb0bf2a048c3717d on lmcloughlin/fix-login into c437561306cc281d7cc52de09fa682b53a3fc246 on master.