Fix startkey in GE API

This commit is contained in:
Johan von Forstner
2020-06-14 17:48:40 +02:00
committed by GitHub
parent e5e5f8ef3c
commit a1760a35ff

View File

@@ -25,7 +25,7 @@ import kotlin.math.floor
data class ChargepointList(
val status: String,
val chargelocations: List<ChargepointListItem>,
val startkey: Int?
@JsonObjectOrFalse val startkey: Int?
)
@JsonClass(generateAdapter = true)
@@ -278,4 +278,4 @@ data class ChargeCard(
@Json(name = "card_id") @PrimaryKey val id: Long,
val name: String,
val url: String
)
)