Skip to content

Commit c5a18dd

Browse files
committed
fixes get_activities_by_date
1 parent 290dfcf commit c5a18dd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/garth_mcp_server/__init__.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
from mcp.server.fastmcp import FastMCP
88

99

10-
__version__ = "0.0.10"
10+
__version__ = "0.0.10.dev1"
1111

1212
# Type alias for functions that return data from garth.connectapi
1313
ConnectAPIResponse = str | dict | list | int | float | bool | None
@@ -191,7 +191,7 @@ def get_activities(start: int = 0, limit: int = 20) -> ConnectAPIResponse:
191191
activity.pop("ownerProfileImageUrlSmall")
192192
activity.pop("ownerProfileImageUrlMedium")
193193
activity.pop("ownerProfileImageUrlLarge")
194-
194+
195195
return activities
196196

197197

@@ -202,7 +202,7 @@ def get_activities_by_date(date: str) -> ConnectAPIResponse:
202202
Get activities for a specific date from Garmin Connect.
203203
date: Date for activities (YYYY-MM-DD format)
204204
"""
205-
return garth.connectapi(f"wellness-service/wellness/dailySummaryChart/{date}")
205+
return garth.connectapi(f"wellness-service/wellness/dailySummaryChart/?date={date}")
206206

207207

208208
@server.tool()

0 commit comments

Comments
 (0)