Skip to content

Commit 49958cb

Browse files
authored
Update GetGameList.kt (#34)
* Update GetGameList.kt Make type consistent with the rest of endpoints. * Update GetGameList.kt `dateModified` is nullable
1 parent 7021b18 commit 49958cb

File tree

1 file changed

+2
-2
lines changed
  • src/main/kotlin/org/retroachivements/api/data/pojo/system

1 file changed

+2
-2
lines changed

src/main/kotlin/org/retroachivements/api/data/pojo/system/GetGameList.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class GetGameList {
2222
val imageIcon: String,
2323

2424
@SerializedName("NumAchievements")
25-
val numAchievements: Long,
25+
val numAchievements: Int,
2626

2727
@SerializedName("NumLeaderboards")
2828
val numLeaderboards: Long,
@@ -31,7 +31,7 @@ class GetGameList {
3131
val points: Long,
3232

3333
@SerializedName("DateModified")
34-
val dateModified: String,
34+
val dateModified: String?,
3535

3636
@SerializedName("ForumTopicID")
3737
val forumTopicId: Long,

0 commit comments

Comments
 (0)