From ef7abd386e61c3d2c63b1e45a8bf10afa097aed2 Mon Sep 17 00:00:00 2001 From: db123-test Date: Thu, 7 May 2026 18:15:06 +0330 Subject: [PATCH] fix(auth): corrected apu_client_ip to only return an string instead of array with valid true --- src/auth.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/auth.go b/src/auth.go index f2edbf8..9973939 100644 --- a/src/auth.go +++ b/src/auth.go @@ -311,7 +311,7 @@ func logsHandler(db *sql.DB) http.HandlerFunc { entry := map[string]interface{}{ "timestamp": ts, "action": action, - "api_client_ip": apiClientIP, + "api_client_ip": apiClientIP.String, "reason": reason.String, } if ip.Valid {