aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/com/juick/www/api/activity/Profile.java2
1 files changed, 1 insertions, 1 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 495ca8f9..3b00a301 100644
--- a/src/main/java/com/juick/www/api/activity/Profile.java
+++ b/src/main/java/com/juick/www/api/activity/Profile.java
@@ -390,7 +390,7 @@ public class Profile {
messagesService.deleteReply(actor, objectId);
}
// accept all authenticated Delete activities
- return new ResponseEntity<>(CommandResult.fromString("Delete request accepted"), HttpStatus.OK);
+ return new ResponseEntity<>(CommandResult.fromString("Delete request accepted"), HttpStatus.ACCEPTED);
}
if (activity instanceof Like || activity instanceof Announce) {
String messageUri = activity.getObject().getId();