This commit is contained in:
1 parent
b35d365467
commit
7f43662cbc
2 files changed
+8
-6
No files matched your search
+4
-6
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user