mirror of
https://github.com/dalbodeule/chibot-chzzk-bot.git
synced 2025-06-09 07:18:22 +00:00
fix User.kt done
This commit is contained in:
parent
042afde5c7
commit
4c3300203b
@ -126,11 +126,6 @@ fun Routing.apiRoutes() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
val matchResult = chzzkIDRegex.find(body.chzzkUrl)
|
val matchResult = chzzkIDRegex.find(body.chzzkUrl)
|
||||||
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) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user