From b35d365467b77faeeb1c3b8897176d41d32774ed Mon Sep 17 00:00:00 2001 From: Nathan Coad Date: Tue, 16 Jan 2024 17:02:17 +1100 Subject: [PATCH] test --- models/secret.go | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/models/secret.go b/models/secret.go index ab8c6e7..77fdb6e 100644 --- a/models/secret.go +++ b/models/secret.go @@ -173,11 +173,13 @@ func SecretsGetAllowed(s *Secret, userId int) ([]UserSecret, error) { // work around to get the UserId populated in the User field of the struct r.User.UserId = r.UserUserId - // For debugging purposes - debugPrint := utils.PrintStructContents(&r, 0) - log.Println(debugPrint) + /* + // For debugging purposes + debugPrint := utils.PrintStructContents(&r, 0) + log.Println(debugPrint) - log.Printf("SecretsGetAllowed performed debug print\n") + log.Printf("SecretsGetAllowed performed debug print\n") + */ // Append the secrets to the query output, don't decrypt the secrets (we didn't SELECT them anyway) //secretResults = append(secretResults, r)