diff --git a/webserver/src/main/kotlin/space/mori/chzzk_bot/webserver/routes/ApiRoutes.kt b/webserver/src/main/kotlin/space/mori/chzzk_bot/webserver/routes/ApiRoutes.kt index 91ded88..12f1628 100644 --- a/webserver/src/main/kotlin/space/mori/chzzk_bot/webserver/routes/ApiRoutes.kt +++ b/webserver/src/main/kotlin/space/mori/chzzk_bot/webserver/routes/ApiRoutes.kt @@ -126,7 +126,11 @@ fun Routing.apiRoutes() { } val matchResult = chzzkIDRegex.find(body.chzzkUrl) - println(matchResult) + matchResult?.groups?.forEach { + if (it != null) { + println(it.value) + } + } val matchedChzzkId = matchResult?.groups?.get(1)?.value if (matchedChzzkId == null) {