From 8433f38f6e43b0ff48990e32356f32c05e3c614a Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Thu, 12 Jan 2023 00:59:59 +0530 Subject: [PATCH] fix(model): add `Comment#shortId` --- model/src/main/kotlin/dev/msfjarvis/claw/model/Comment.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/model/src/main/kotlin/dev/msfjarvis/claw/model/Comment.kt b/model/src/main/kotlin/dev/msfjarvis/claw/model/Comment.kt index a3d123ab..fa5100c9 100644 --- a/model/src/main/kotlin/dev/msfjarvis/claw/model/Comment.kt +++ b/model/src/main/kotlin/dev/msfjarvis/claw/model/Comment.kt @@ -1,5 +1,5 @@ /* - * Copyright © 2021-2022 Harsh Shandilya. + * Copyright © 2021-2023 Harsh Shandilya. * Use of this source code is governed by an MIT-style * license that can be found in the LICENSE file or at * https://opensource.org/licenses/MIT. @@ -15,6 +15,7 @@ import kotlinx.serialization.Serializable @Serializable class Comment( + @SerialName("short_id") val shortId: String, val comment: String, val url: String, val score: Int,