Skip to content

Commit

Permalink
Support nullable fields in user data models
Browse files Browse the repository at this point in the history
  • Loading branch information
WinG4merBR committed Dec 31, 2024
1 parent d0f0f5c commit 52a54eb
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ data class FoxyUser(
val userPremium: UserPremium,
val userSettings: UserSettings,
val petInfo: PetInfo? = null,
val userTransactions: List<Transaction> = emptyList(),
val premiumKeys: List<Key> = emptyList(),
val roulette: Roulette,
val userTransactions: List<Transaction>? = emptyList(),
val premiumKeys: List<Key>? = emptyList(),
val roulette: Roulette? = null,
@Serializable(with = MongoDateSerializer::class)
val lastVote: Instant? = null,
val notifiedForVote: Boolean = false,
val notifiedForVote: Boolean? = false,
val voteCount: Int? = null
)

Expand Down

0 comments on commit 52a54eb

Please sign in to comment.