From 1dba4923c80cd113942dfc3c63aff81251102701 Mon Sep 17 00:00:00 2001 From: oSumAtrIX Date: Wed, 31 Jan 2024 09:20:28 +0100 Subject: [PATCH] chore: Remove test --- src/main/kotlin/app/revanced/api/modules/Routing.kt | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/main/kotlin/app/revanced/api/modules/Routing.kt b/src/main/kotlin/app/revanced/api/modules/Routing.kt index 18da381..b5fdfaf 100644 --- a/src/main/kotlin/app/revanced/api/modules/Routing.kt +++ b/src/main/kotlin/app/revanced/api/modules/Routing.kt @@ -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) } } }