From e553c2dc2ec86fa8ad1a1ffd43e64d9a1cc5b5ce Mon Sep 17 00:00:00 2001 From: Alex <$(pass /github/email)> Date: Fri, 28 Feb 2025 10:05:35 +0100 Subject: [PATCH] del: logging --- go-backend/internal/utils/priviliges.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/go-backend/internal/utils/priviliges.go b/go-backend/internal/utils/priviliges.go index 747799f..0bf7d1c 100644 --- a/go-backend/internal/utils/priviliges.go +++ b/go-backend/internal/utils/priviliges.go @@ -3,7 +3,6 @@ package utils import ( "GoMembership/internal/constants" "GoMembership/internal/models" - "GoMembership/pkg/logger" "errors" "reflect" ) @@ -120,12 +119,8 @@ func FilterAllowedStructFields(input interface{}, existing interface{}, allowedF // Only allow whitelisted fields if !allowedFields[fullKey] { - logger.Error.Printf("denying update of field: %#v", fullKey) fieldValue.Set(originField) - } else { - logger.Error.Printf("updating whitelisted field: %#v", fullKey) } - } return nil }