mirror of
https://github.com/dalbodeule/chibot-chzzk-bot.git
synced 2025-06-08 23:08:20 +00:00
[hotfix] hotfix on manage users.
This commit is contained in:
parent
f65c446bed
commit
5fa04a6725
@ -126,7 +126,7 @@ fun Routing.apiRoutes() {
|
|||||||
user.subordinates.toList()
|
user.subordinates.toList()
|
||||||
}
|
}
|
||||||
returnUsers.addAll(subordinates.map {
|
returnUsers.addAll(subordinates.map {
|
||||||
val subStatus = getChzzkUserWithId(user.token)
|
val subStatus = getChzzkUserWithId(it.token)
|
||||||
return@map if (subStatus == null) {
|
return@map if (subStatus == null) {
|
||||||
null
|
null
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user