fix User.kt(7x)

- fun enable fix
This commit is contained in:
dalbodeule 2024-08-08 21:02:30 +09:00
parent 9dd1d1804a
commit 042afde5c7
No known key found for this signature in database
GPG Key ID: EFA860D069C9FA65

View File

@ -126,7 +126,11 @@ fun Routing.apiRoutes() {
} }
val matchResult = chzzkIDRegex.find(body.chzzkUrl) val matchResult = chzzkIDRegex.find(body.chzzkUrl)
println(matchResult) matchResult?.groups?.forEach {
if (it != null) {
println(it.value)
}
}
val matchedChzzkId = matchResult?.groups?.get(1)?.value val matchedChzzkId = matchResult?.groups?.get(1)?.value
if (matchedChzzkId == null) { if (matchedChzzkId == null) {