mirror of
https://github.com/revanced/revanced-api.git
synced 2025-04-29 22:24:31 +02:00
chore: Remove test
This commit is contained in:
parent
42f731854d
commit
1dba4923c8
@ -38,16 +38,6 @@ fun Application.configureRouting() {
|
||||
suspend fun PipelineContext<*, ApplicationCall>.channel(block: suspend (String) -> Unit) =
|
||||
block(call.parameters["channel"]!!)
|
||||
|
||||
announcementService.new(
|
||||
APIAnnouncement(
|
||||
"author",
|
||||
"title",
|
||||
"content",
|
||||
setOf("https://example.com"),
|
||||
"channel",
|
||||
LocalDateTime.now().toKotlinLocalDateTime(),
|
||||
)
|
||||
)
|
||||
route("/{channel}/latest") {
|
||||
get("/id") { channel { announcementId { latestId(it) } } }
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user