chore: Remove test

This commit is contained in:
oSumAtrIX 2024-01-31 09:20:28 +01:00
parent 42f731854d
commit 1dba4923c8
No known key found for this signature in database
GPG Key ID: A9B3094ACDB604B4

View File

@ -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) } } }