Skip to content

Commit

Permalink
fix(#79-support-search): fuckery serial name
Browse files Browse the repository at this point in the history
  • Loading branch information
y9Kap committed Oct 30, 2023
1 parent 4f166e3 commit 9af2d56
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ public sealed class NotificationSerializable {
public abstract val isNew: Boolean
public abstract val date: DateTimeSerializable

@SerialName("subscription")
@Serializable
public class Subscription(
override val isNew: Boolean,
Expand All @@ -26,7 +25,6 @@ public sealed class NotificationSerializable {
public val subscriber: UserSerializable,
) : NotificationSerializable()

@SerialName("meeting_invitation")
@Serializable
public class Invitation(
override val id: NotificationIdSerializable,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,17 @@ public data class UserSerializable(
public val id: UserIdSerializable,
@SerialName("nickname")
public val nickname: String,
@SerialName("avatar_id")
@SerialName("avatarId")
public val avatarId: FileIdSerializable?,
@SerialName("is_self")
@SerialName("isSelf")
public val isSelf: Boolean,
@SerialName("username")
public val username: UsernameSerializable?,
@SerialName("relationship")
public val relationship: RelationshipSerializable? = null,
@SerialName("email")
public val email: EmailSerializable? = null,
@SerialName("email_verified")
@SerialName("emailVerified")
public val emailVerified: Boolean? = null
)

Expand Down

0 comments on commit 9af2d56

Please sign in to comment.