magnific0 / nokia-weight-sync

Get weight from Nokia Health and update in Garmin Connect or Smashrun
GNU General Public License v3.0
71 stars 30 forks source link

Remove trailing slashes from Withings URLs #10

Closed jschram closed 6 years ago

jschram commented 6 years ago

I noticed the measurements weren't being update since my previous PR got merged. Turned out the Withings endpoints don't play nice with double slashes.

This PR removes the trailing slashes from the URL variables in the NokiaApi and NokiaAuth classes so concatenation of the different endpoints will work again.

magnific0 commented 6 years ago

Thanks!

jaywax commented 6 years ago

Thanks, works like a charm !