try to retrieve UserName from secrets table
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-01-09 15:54:15 +11:00
parent 123925e304
commit db26c12483
+2 -1
View File
@@ -26,7 +26,8 @@ type Secret struct {
// Used for querying all secrets the user has access to
type UserSecret struct {
User
UserId int `db:"UserId" json:"userId"`
GroupId int `db:"GroupId" json:"groupId"`
Group
Permission
Safe