Skip to content

Commit 90b72f5

Browse files
🚑️ Fixed GetGameExtended isFinal type (#42)
1 parent 94f668c commit 90b72f5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/main/kotlin/org/retroachivements/api/data/pojo/game/GetGameExtended.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ class GetGameExtended {
4545
val released: String?,
4646

4747
@SerializedName("IsFinal")
48-
val isFinal: Int,
48+
val isFinal: Boolean,
4949

5050
@SerializedName("RichPresencePatch")
5151
val richPresencePatch: String,

src/main/resources/mock/v1/game/GetGameExtended.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"Developer": "",
1313
"Genre": "",
1414
"Released": "June 23, 1991",
15-
"IsFinal": 0,
15+
"IsFinal": false,
1616
"RichPresencePatch": "cce60593880d25c97797446ed33eaffb",
1717
"players_total": 27080,
1818
"achievement_set_version_hash": "14ce9b51a2e1cf63d55b7ebf389de3c9f27c564b33f5b9a8e17836af2a61bfcd",
@@ -45,4 +45,4 @@
4545
"Claims": [],
4646
"NumDistinctPlayersCasual": 27080,
4747
"NumDistinctPlayersHardcore": 27080
48-
}
48+
}

0 commit comments

Comments
 (0)