mirror of
https://github.com/ReVanced/revanced-api.git
synced 2026-01-31 07:01:03 +00:00
feat: Remove "archived" query parameter
It doesn't seem to be necessary for the purpose of viewing announcements.
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user