mirror of
https://github.com/dalbodeule/chibot-chzzk-bot.git
synced 2025-06-09 07:18:22 +00:00
managers relation is fixed (9x)
This commit is contained in:
parent
593546c89b
commit
a7069046f6
@ -117,8 +117,9 @@ fun Routing.apiRoutes() {
|
|||||||
songConfig.disabled
|
songConfig.disabled
|
||||||
))
|
))
|
||||||
val subordinates = user.subordinates
|
val subordinates = user.subordinates
|
||||||
|
println(subordinates)
|
||||||
returnUsers.addAll(subordinates.map {
|
returnUsers.addAll(subordinates.map {
|
||||||
val subStatus = user.token?.let { it1 -> getStreamInfo(it1) }
|
val subStatus = it.token?.let { it1 -> getStreamInfo(it1) }
|
||||||
return@map if (it.token == null || subStatus?.content == null) {
|
return@map if (it.token == null || subStatus?.content == null) {
|
||||||
null
|
null
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user