Skip to content

Commit 949d63e

Browse files
committed
Make some properties in TeamRanking optional to support older seasons
1 parent 61318fd commit 949d63e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

app/src/main/java/com/sunkensplashstudios/VRCRoboScout/RoboScoutAPI.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -676,9 +676,9 @@ data class TeamRanking(
676676
val wp: Int,
677677
val ap: Int,
678678
val sp: Int,
679-
@SerialName("high_score") val highScore: Int,
680-
@SerialName("average_points") val averagePoints: Double,
681-
@SerialName("total_points") val totalPoints: Int
679+
@SerialName("high_score") val highScore: Int?,
680+
@SerialName("average_points") val averagePoints: Double?,
681+
@SerialName("total_points") val totalPoints: Int?
682682
)
683683

684684
@Serializable

0 commit comments

Comments
 (0)