[hotfix] hotfix on manage users.

This commit is contained in:
dalbodeule 2025-05-16 00:29:50 +09:00
parent f65c446bed
commit 5fa04a6725
No known key found for this signature in database
GPG Key ID: EFA860D069C9FA65

View File

@ -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 {