From 042afde5c7bb449d040928f34770cfa3899fc5a9 Mon Sep 17 00:00:00 2001 From: dalbodeule <11470513+dalbodeule@users.noreply.github.com> Date: Thu, 8 Aug 2024 21:02:30 +0900 Subject: [PATCH] fix User.kt(7x) - fun enable fix --- .../space/mori/chzzk_bot/webserver/routes/ApiRoutes.kt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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) {