diff options
author | Vitaly Takmazov | 2023-04-18 13:36:53 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2023-04-18 13:36:53 +0300 |
commit | c88d200416a0b1ab3aa530a2e56d2cce08957a14 (patch) | |
tree | d38851852af26c8d3092621976d7dce2217fb0d2 /src/main/java/com/juick/www/api | |
parent | 66801ba91a51c9b7df6d85136d677350d2495b86 (diff) |
Minor cleanup
Diffstat (limited to 'src/main/java/com/juick/www/api')
-rw-r--r-- | src/main/java/com/juick/www/api/activity/Profile.java | 4 |
1 files changed, 2 insertions, 2 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 68ea66ae..a8ff003f 100644 --- a/src/main/java/com/juick/www/api/activity/Profile.java +++ b/src/main/java/com/juick/www/api/activity/Profile.java @@ -385,7 +385,7 @@ public class Profile { if (activity instanceof Update) { if (activity.getObject() instanceof Person && activity.getActor().equals(activity.getObject().getId())) { - logger.info("{} update they profile"); + logger.info("{} update their profile", activity.getActor()); return new ResponseEntity<>(CommandResult.fromString("Update accepted"), HttpStatus.ACCEPTED); } if (activity.getObject() instanceof Note) { @@ -395,7 +395,7 @@ public class Profile { Message reply = messagesService.getReplyByUri(note.getId()); if (reply != null) { if (messagesService.updateMessage(reply.getMid(), reply.getRid(), formatNote(note), true)) { - logger.info("{} update they message {}", activity.getActor(), note.getId()); + logger.info("{} update their message {}", activity.getActor(), note.getId()); return new ResponseEntity<>(HttpStatus.ACCEPTED); } logger.warn("Unable to update {}", note.getId()); |