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

This commit is contained in:
2024-01-09 15:54:15 +11:00
parent 123925e304
commit db26c12483

View File

@@ -26,7 +26,8 @@ type Secret struct {
// Used for querying all secrets the user has access to // Used for querying all secrets the user has access to
type UserSecret struct { type UserSecret struct {
User UserId int `db:"UserId" json:"userId"`
GroupId int `db:"GroupId" json:"groupId"`
Group Group
Permission Permission
Safe Safe