diff options
author | Vitaly Takmazov | 2023-04-26 09:34:29 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2023-04-26 09:34:29 +0300 |
commit | fc5f8e888c9ccfda7d739493c439437a917b9902 (patch) | |
tree | cb89cdb606b3296ef20c97b749a50d447b0d4a70 /src/main/java/com/juick/service/UserService.java | |
parent | 90201606bb485988f5a85cd578f3f5b8ecddf4db (diff) |
Expose 'isAdmin' user property over API
Diffstat (limited to 'src/main/java/com/juick/service/UserService.java')
-rw-r--r-- | src/main/java/com/juick/service/UserService.java | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/main/java/com/juick/service/UserService.java b/src/main/java/com/juick/service/UserService.java index 53acdfab..0cbe104f 100644 --- a/src/main/java/com/juick/service/UserService.java +++ b/src/main/java/com/juick/service/UserService.java @@ -123,8 +123,6 @@ public interface UserService { void updateLastSeen(User user); - boolean isAdminUser(User user); - Optional<ExternalToken> getTwitterToken(int uid); @CacheEvict(value = "twitter_user", key="{ #uid }") |