mirror of
https://github.com/dalbodeule/chibot-chzzk-bot.git
synced 2026-10-25 17:11:16 +09:00
fix User.kt(7x)
- fun enable fix
This commit is contained in:
1 file changed
+5
-1
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user