Skip to content

Commit 0274e84

Browse files
chore: Fix values for GetUserProfile (#14)
* chore: fix UserWallActive value type, which is expected to be a Boolean * chore: update api version
1 parent c2b5d7d commit 0274e84

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>org.retroachievements</groupId>
88
<artifactId>api-kotlin</artifactId>
9-
<version>1.0.3</version>
9+
<version>1.0.4</version>
1010

1111
<dependencyManagement>
1212
<dependencies>

src/main/kotlin/org/retroachivements/api/data/pojo/user/GetUserProfile.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ class GetUserProfile {
4141
val id: Long,
4242

4343
@SerializedName("UserWallActive")
44-
val userWallActive: Int,
44+
val userWallActive: Boolean,
4545

4646
@SerializedName("Motto")
4747
val motto: String?,

src/main/resources/mock/v1/user/GetUserProfile.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@
1212
"Permissions": 1,
1313
"Untracked": 0,
1414
"ID": 16446,
15-
"UserWallActive": 1,
15+
"UserWallActive": true,
1616
"Motto": "Join me on Twitch! GameSquadSquad for live RA"
17-
}
17+
}

0 commit comments

Comments
 (0)