Skip to content

Commit 5296b29

Browse files
authored
chore: change IsFinal type from Int to Boolean (#38)
1 parent b0cc2aa commit 5296b29

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/GetGameInfoAndUserProgress.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ class GetGameInfoAndUserProgress {
4848
val releasedAtGranularity: String?,
4949

5050
@SerializedName("IsFinal")
51-
val isFinal: Int,
51+
val isFinal: Boolean,
5252

5353
@SerializedName("RichPresencePatch")
5454
val richPresencePatch: String,

src/main/resources/mock/v1/game/GetGameInfoAndUserProgress.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
"achievements_published": 23,
@@ -48,4 +48,4 @@
4848
"NumDistinctPlayersHardcore": 27080,
4949
"UserCompletion": "100.00%",
5050
"UserCompletionHardcore": "100.00%"
51-
}
51+
}

0 commit comments

Comments
 (0)