Skip to content

Commit 4326251

Browse files
authored
Merge pull request #121 from joreilly/update_endpoint
update endpoint
2 parents 9f8dc3d + 2162712 commit 4326251

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

composeApp/src/commonMain/kotlin/dev/johnoreilly/climatetrace/remote/ClimateTraceApi.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ data class EmissionInfo(
6262

6363
class ClimateTraceApi(
6464
private val client: HttpClient,
65-
private val baseUrl: String = "https://api.climatetrace.org/v4",
65+
private val baseUrl: String = "https://api.climatetrace.org/v6",
6666
) {
6767
suspend fun fetchContinents() = client.get("$baseUrl/definitions/continents").body<List<String>>()
6868
suspend fun fetchCountries() = client.get("$baseUrl/definitions/countries").body<List<Country>>()

0 commit comments

Comments
 (0)