diff options
author | Vitaly Takmazov | 2023-04-26 10:10:46 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2023-04-30 11:41:27 +0300 |
commit | cd6150df90a6ab86f20221c61c58c6864dc408fc (patch) | |
tree | 5919da0af4e716445bf5c6c4167af72263152538 /src/main/java/com/juick/www/api/Users.java | |
parent | c5bd1fed700c1c16c3680587a9556c06d477eb1f (diff) |
Expose 'vip' and 'ignored' user lists over '/me' API endpoint
Diffstat (limited to 'src/main/java/com/juick/www/api/Users.java')
-rw-r--r-- | src/main/java/com/juick/www/api/Users.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main/java/com/juick/www/api/Users.java b/src/main/java/com/juick/www/api/Users.java index 4fb53ca1..34382f8e 100644 --- a/src/main/java/com/juick/www/api/Users.java +++ b/src/main/java/com/juick/www/api/Users.java @@ -283,5 +283,11 @@ public class Users { public ApplicationStatus getFacebookStatus() { return userService.getFbCrossPostStatus(this.getUid()); } + public List<User> getVip() { + return userService.getUserVipUsers(this.getUid()); + } + public List<User> getIgnored() { + return userService.getUserIgnoredUsers(this.getUid()); + } } } |