We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
createdAt
1 parent 55e3774 commit 58ba4cbCopy full SHA for 58ba4cb
src/main/kotlin/app/revanced/api/configuration/APISchema.kt
@@ -63,6 +63,7 @@ class ApiAnnouncement(
63
val attachments: List<String> = emptyList(),
64
// Using a list instead of a set because set semantics are unnecessary here.
65
val tags: List<String> = emptyList(),
66
+ val createdAt: LocalDateTime,
67
val archivedAt: LocalDateTime? = null,
68
val level: Int = 0,
69
)
src/main/kotlin/app/revanced/api/configuration/repository/AnnouncementRepository.kt
@@ -120,6 +120,7 @@ internal class AnnouncementRepository(private val database: Database) {
120
it.author = new.author
121
it.title = new.title
122
it.content = new.content
123
+ it.createdAt = new.createdAt
124
it.archivedAt = new.archivedAt
125
it.level = new.level
126
0 commit comments