diff options
author | Vitaly Takmazov | 2022-07-10 20:46:02 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2022-07-10 20:46:02 +0300 |
commit | ec4760936d609f4e269c028468a53bc1d60878aa (patch) | |
tree | 6ef3dfe32466d3d0796d9e65e94c726273836925 /src/main/java/com/juick/www | |
parent | a018771838367998a71ee239fdf256c1ee1df5dd (diff) |
Drop unused API endpoint
Diffstat (limited to 'src/main/java/com/juick/www')
-rw-r--r-- | src/main/java/com/juick/www/api/activity/Profile.java | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/main/java/com/juick/www/api/activity/Profile.java b/src/main/java/com/juick/www/api/activity/Profile.java index 3b00a301..95fd2fc1 100644 --- a/src/main/java/com/juick/www/api/activity/Profile.java +++ b/src/main/java/com/juick/www/api/activity/Profile.java @@ -420,9 +420,4 @@ public class Profile { } return new ResponseEntity<>(CommandResult.fromString("Can not authenticate"), HttpStatus.UNAUTHORIZED); } - - @PostMapping(value = { "/u/", "/api/u/" }, produces = MediaType.APPLICATION_JSON_VALUE) - public User fetchUser(@RequestParam URI uri) { - return activityPubManager.actorToUser(uri); - } } |