fix(model): adjust for new comments structure

This commit is contained in:
Harsh Shandilya 2023-08-30 11:32:10 +05:30
parent 43402f45d8
commit 9dcf26b5a4
No known key found for this signature in database
3 changed files with 3 additions and 3 deletions

View file

@ -23,6 +23,6 @@ class Comment(
val score: Int,
@Serializable(with = JavaInstantSerializer::class) val createdAt: TemporalAccessor,
@Serializable(with = JavaInstantSerializer::class) val updatedAt: TemporalAccessor,
val indentLevel: Int,
val parentComment: String?,
@SerialName("commenting_user") val user: User,
)