We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e921425 commit e074f69Copy full SHA for e074f69
garminconnect/__init__.py
@@ -2127,7 +2127,7 @@ def get_activity_details(
2127
2128
activity_id = str(activity_id)
2129
maxchart = _validate_positive_integer(maxchart, "maxchart")
2130
- maxpoly = _validate_positive_integer(maxpoly, "maxpoly")
+ maxpoly = _validate_non_negative_integer(maxpoly, "maxpoly")
2131
params = {"maxChartSize": str(maxchart), "maxPolylineSize": str(maxpoly)}
2132
url = f"{self.garmin_connect_activity}/{activity_id}/details"
2133
logger.debug("Requesting details for activity id %s", activity_id)
0 commit comments