From ec4760936d609f4e269c028468a53bc1d60878aa Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Sun, 10 Jul 2022 20:46:02 +0300 Subject: Drop unused API endpoint --- src/main/java/com/juick/www/api/activity/Profile.java | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/main/java/com/juick/www/api/activity') 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); - } } -- cgit v1.2.3