try debugging the debugging
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-01-16 17:05:48 +11:00
parent b35d365467
commit 7f43662cbc
2 changed files with 8 additions and 6 deletions

View File

@@ -173,13 +173,11 @@ 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)