aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/juick/service/UserService.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/com/juick/service/UserService.java')
-rw-r--r--src/main/java/com/juick/service/UserService.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/main/java/com/juick/service/UserService.java b/src/main/java/com/juick/service/UserService.java
index fe5ce23f..4acc5b6a 100644
--- a/src/main/java/com/juick/service/UserService.java
+++ b/src/main/java/com/juick/service/UserService.java
@@ -25,12 +25,14 @@ import com.juick.model.ExternalToken;
import com.juick.util.UsernameTakenException;
import jakarta.annotation.Nonnull;
+import jakarta.annotation.Nullable;
import org.apache.commons.lang3.tuple.Pair;
import org.springframework.cache.annotation.CacheEvict;
import org.springframework.cache.annotation.Cacheable;
import java.util.Collection;
import java.util.List;
+import java.util.Map;
import java.util.Optional;
/**
@@ -151,7 +153,8 @@ public interface UserService {
String getTelegramName(int uid);
- List<Pair<String, String>> getVkTokens(List<Integer> uids);
+ @Nullable
+ Pair<String, String> getVkTokens(int uid);
void deleteVKUser(Integer uid);