dev add stats api
Test Workflow / test (push) Successful in 3s

This commit is contained in:
vladp
2026-02-05 19:33:37 +07:00
parent 130fd184b9
commit 90e3134e98
@@ -185,7 +185,7 @@ public class AuthService {
long currentCountUsers = userRepository.findByCompanyId(company.getId()).size(); long currentCountUsers = userRepository.findByCompanyId(company.getId()).size();
//TODO add exception //TODO add exception
if (maxUsers < currentCountUsers) { if (currentCountUsers < maxUsers) {
throw new RuntimeException(); throw new RuntimeException();
} }