aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/juick/www
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2022-07-10 20:46:02 +0300
committerGravatar Vitaly Takmazov2022-07-10 20:46:02 +0300
commitec4760936d609f4e269c028468a53bc1d60878aa (patch)
tree6ef3dfe32466d3d0796d9e65e94c726273836925 /src/main/java/com/juick/www
parenta018771838367998a71ee239fdf256c1ee1df5dd (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.java5
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);
- }
}