mirror of
https://github.com/dalbodeule/chibot-chzzk-bot.git
synced 2025-06-09 07:18:22 +00:00
fix User.kt(7x)
- fun enable fix
This commit is contained in:
parent
9dd1d1804a
commit
042afde5c7
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user