fix authService
Test Workflow / test (push) Successful in 4s

This commit is contained in:
vladp
2026-01-21 12:21:14 +07:00
parent 1fc065a46b
commit 251bb37105
11 changed files with 135 additions and 287 deletions
@@ -14,4 +14,5 @@ public interface AuthTokenRepository extends JpaRepository<AuthToken, Long> {
Optional<AuthToken> findByLastUsedAtBefore(LocalDateTime lastUsedAt);
Optional<AuthToken> findByToken(String token);
Optional<AuthToken> findByUserIdAndIsActive(Long userId, boolean isActive);
Optional<AuthToken> findByUserId(Long userId);
}