Skip to content

Commit f42a324

Browse files
committed
Fix route to use start and end ranges
1 parent 8a183e2 commit f42a324

File tree

1 file changed

+2
-2
lines changed
  • oura-library/src/main/kotlin/org/radarbase/oura/route

1 file changed

+2
-2
lines changed

oura-library/src/main/kotlin/org/radarbase/oura/route/OuraRoute.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@ abstract class OuraRoute(
7373
val request = createRequest(
7474
user,
7575
"$OURA_API_BASE_URL/${subPath()}",
76-
"?start_date=${start.toLocalDate()}" +
77-
"&end_date=${end.toLocalDate()}",
76+
"?start_date=${startRange.toLocalDate()}" +
77+
"&end_date=${endRange.toLocalDate()}",
7878
)
7979
RestRequest(request, user, this, startRange, endRange)
8080
}

0 commit comments

Comments
 (0)