This commit is contained in:
Diogo committed 2024-11-19 15:49:03 +00:00
1 parent b6dd359df1
commit ff714bbc5d
1 file changed
+2 -1
@@ -1023,7 +1023,8 @@ object ChatController {
}
suspend fun validateServers(rh: Long?, userServers: List<UserOperatorServers>): List<UserServersError>? {
val r = sendCmd(rh, CC.ApiValidateServers(userServers))
val userId = currentUserId("validateServers")
val r = sendCmd(rh, CC.ApiValidateServers(userId, userServers))
return when (r) {
is CR.UserServersValidation -> r.serverErrors
else -> {