Skip to content

Commit 3380a3d

Browse files
committed
fix: Update TimeBandsRouter endpoint URL
1 parent 6a905cc commit 3380a3d

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)