diff options
Diffstat (limited to 'juick-server/src/main/java/com')
-rw-r--r-- | juick-server/src/main/java/com/juick/server/api/activity/Profile.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/juick-server/src/main/java/com/juick/server/api/activity/Profile.java b/juick-server/src/main/java/com/juick/server/api/activity/Profile.java index 392acfe6..873f0cea 100644 --- a/juick-server/src/main/java/com/juick/server/api/activity/Profile.java +++ b/juick-server/src/main/java/com/juick/server/api/activity/Profile.java @@ -273,6 +273,7 @@ public class Profile { if (activity.getObject() instanceof String) { // Delete user applicationEventPublisher.publishEvent(new DeleteUserEvent(this, (String)activity.getObject())); + return new ResponseEntity<>(HttpStatus.OK); } } if (activity instanceof Create) { @@ -286,6 +287,7 @@ public class Profile { User user = new User(); user.setUri(URI.create(activity.getActor())); commandsManager.processCommand(user, String.format("#%s %s", postId, note.getContent()), URI.create(note.getAttachment().getUrl())); + return new ResponseEntity<>(HttpStatus.OK); } } |