Skip to content

Commit 9185fc4

Browse files
authored
Merge pull request #5 from ctrl-hub/fix/timeband-endpoint-url
fix: Update TimeBandsRouter endpoint URL
2 parents 6a905cc + 3380a3d commit 9185fc4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/kotlin/com/ctrlhub/core/settings/timebands/TimeBandsRouter.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class TimeBandsRouter(httpClient: HttpClient) : Router(httpClient) {
2323
organisationId: String,
2424
requestParameters: TimeBandsRequestParameters = TimeBandsRequestParameters()
2525
): List<TimeBand> {
26-
val endpoint = "/orgs/$organisationId/settings/time-bands"
26+
val endpoint = "/v3/orgs/$organisationId/settings/time-bands"
2727
return fetchJsonApiResources(endpoint, requestParameters.toMap())
2828
}
2929

0 commit comments

Comments
 (0)