feat: Remove "archived" query parameter

It doesn't seem to be necessary for the purpose of viewing announcements.
This commit is contained in:
oSumAtrIX
2024-11-02 00:57:31 +01:00
parent fc40427fba
commit 8ad614ef4f
4 changed files with 11 additions and 36 deletions

View File

@@ -14,8 +14,8 @@ internal class AnnouncementService(
fun latestId() = announcementRepository.latestId()
suspend fun paged(cursor: Int, limit: Int, tags: Set<String>?, archived: Boolean) =
announcementRepository.paged(cursor, limit, tags, archived)
suspend fun paged(cursor: Int, limit: Int, tags: Set<String>?) =
announcementRepository.paged(cursor, limit, tags)
suspend fun get(id: Int) = announcementRepository.get(id)