aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/juick/service/UserService.java
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2023-04-26 10:10:46 +0300
committerGravatar Vitaly Takmazov2023-04-30 11:41:27 +0300
commitcd6150df90a6ab86f20221c61c58c6864dc408fc (patch)
tree5919da0af4e716445bf5c6c4167af72263152538 /src/main/java/com/juick/service/UserService.java
parentc5bd1fed700c1c16c3680587a9556c06d477eb1f (diff)
Expose 'vip' and 'ignored' user lists over '/me' API endpoint
Diffstat (limited to 'src/main/java/com/juick/service/UserService.java')
-rw-r--r--src/main/java/com/juick/service/UserService.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/com/juick/service/UserService.java b/src/main/java/com/juick/service/UserService.java
index 0cbe104f..fe5ce23f 100644
--- a/src/main/java/com/juick/service/UserService.java
+++ b/src/main/java/com/juick/service/UserService.java
@@ -99,7 +99,8 @@ public interface UserService {
List<User> getUserFriends(int uid);
- List<User> getUserBLUsers(int uid);
+ List<User> getUserIgnoredUsers(int uid);
+ List<User> getUserVipUsers(int uid);
@CacheEvict(value = "twitter_user", key="{ #user.getUid() }")
boolean linkTwitterAccount(User user, String accessToken, String accessTokenSecret, String screenName);