We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9f8dc3d commit 2162712Copy full SHA for 2162712
composeApp/src/commonMain/kotlin/dev/johnoreilly/climatetrace/remote/ClimateTraceApi.kt
@@ -62,7 +62,7 @@ data class EmissionInfo(
62
63
class ClimateTraceApi(
64
private val client: HttpClient,
65
- private val baseUrl: String = "https://api.climatetrace.org/v4",
+ private val baseUrl: String = "https://api.climatetrace.org/v6",
66
) {
67
suspend fun fetchContinents() = client.get("$baseUrl/definitions/continents").body<List<String>>()
68
suspend fun fetchCountries() = client.get("$baseUrl/definitions/countries").body<List<Country>>()
0 commit comments