From 99c1b2156368f7bc936f9d6f7e648bfbc14d7251 Mon Sep 17 00:00:00 2001
From: riorio805 <sefrianojieftara@gmail.com>
Date: Wed, 26 Feb 2025 17:51:01 +0700
Subject: [PATCH] [REFACTOR] Use argument passed to example method sonarqube is
 more happy :))

---
 .../safetypin/authentication/service/AuthenticationService.java  | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/main/java/com/safetypin/authentication/service/AuthenticationService.java b/src/main/java/com/safetypin/authentication/service/AuthenticationService.java
index 0af2bed..dce7ad4 100644
--- a/src/main/java/com/safetypin/authentication/service/AuthenticationService.java
+++ b/src/main/java/com/safetypin/authentication/service/AuthenticationService.java
@@ -126,6 +126,7 @@ 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: {}", content);
         // For demo purposes, we assume the post is successful.
         return "Content posted successfully";
     }
-- 
GitLab