Skip to content

Commit e811a15

Browse files
authored
Update api.py
1 parent 6a0a7cb commit e811a15

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

fitbit/api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -801,7 +801,7 @@ def get_sleep(self, date):
801801
https://dev.fitbit.com/docs/sleep/#get-sleep-logs
802802
date should be a datetime.date object.
803803
"""
804-
url = "{0}/{1}/user/-/sleep/date/{year}-{month}-{day}.json".format(
804+
url = "{0}/1.2/user/-/sleep/date/{year}-{month}-{day}.json".format(
805805
*self._get_common_args(),
806806
year=date.year,
807807
month=date.month,

0 commit comments

Comments
 (0)