Skip to content

Commit 4370403

Browse files
authored
Merge pull request #6 from ctrl-hub/fix/timeband-endpoint-url
fix: Update TimeBandsRouter URL in getOne
2 parents 9185fc4 + 59d84dd commit 4370403

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
@@ -38,7 +38,7 @@ class TimeBandsRouter(httpClient: HttpClient) : Router(httpClient) {
3838
timeBandId: String,
3939
requestParameters: TimeBandsRequestParameters = TimeBandsRequestParameters()
4040
): TimeBand {
41-
val endpoint = "/orgs/$organisationId/settings/time-bands/$timeBandId"
41+
val endpoint = "/v3/orgs/$organisationId/settings/time-bands/$timeBandId"
4242
return fetchJsonApiResource(endpoint, requestParameters.toMap(), TimeBand::class.java)
4343
}
4444
}

0 commit comments

Comments
 (0)