Skip to content

Commit

Permalink
Updated Polestar API Endpoint to v2
Browse files Browse the repository at this point in the history
  • Loading branch information
Ixam97 committed Jan 18, 2024
1 parent 0728e02 commit b25757e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ android {
applicationId = "de.ixam97.carstatswidget"
minSdk = 24
targetSdk = 34
versionCode = 6
versionName = "0.2.0"
versionCode = 7
versionName = "0.2.1"

testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
vectorDrawables {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ interface PolestarDataApi {
): Response<PolestarGetCars>

@Headers("content-type: application/json")
@POST("/eu-north-1/my-star/")
@POST("/eu-north-1/mystar-v2/")
suspend fun getBatteryData(
@Header("Authorization") auth: String,
@Body body: PolestarRepository.GetBatteryDataBody
Expand Down

0 comments on commit b25757e

Please sign in to comment.