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.
2 parents 9f8dc3d + 2162712 commit 4326251Copy full SHA for 4326251
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