diff --git a/src/main/java/com/safetypin/authentication/service/AuthenticationService.java b/src/main/java/com/safetypin/authentication/service/AuthenticationService.java index 88df72f17cf91dd8d772669fa4f5bf52b45816d8..4dd868e5913e9850a2095ed0d77c48dd57929d47 100644 --- a/src/main/java/com/safetypin/authentication/service/AuthenticationService.java +++ b/src/main/java/com/safetypin/authentication/service/AuthenticationService.java @@ -143,9 +143,9 @@ public class AuthenticationService { if (!user.isVerified()) { return "Your account is not verified. Please complete OTP verification. You may request a new OTP after 2 minutes."; } - logger.info("AuthenticationService.postContent :: Content {} posted by user with email: {}", content, email); + logger.info("AuthenticationService.postContent :: Content posted by user with email: {}", email); // For demo purposes, we assume the post is successful. - return "Content posted successfully"; + return String.format("Content '%s' posted successfully.", content); } private int calculateAge(LocalDate birthdate) {