From c88d200416a0b1ab3aa530a2e56d2cce08957a14 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Tue, 18 Apr 2023 13:36:53 +0300 Subject: Minor cleanup --- src/main/java/com/juick/www/api/activity/Profile.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main/java/com/juick/www') 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()); -- cgit v1.2.3