fix bug with UserName
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-01-09 21:45:45 +11:00
parent 43aabee7e8
commit 1b1ac50a61
2 changed files with 8 additions and 5 deletions

View File

@@ -26,9 +26,10 @@ type Secret struct {
}
// Used for querying all secrets the user has access to
// Since there are some ambiguous column names (eg UserName is present in both users and secrets table), the order of fields in this struct matters
type UserSecret struct {
User
Secret
User
//Group
Permission
}