we do want to provide SecretId in output
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -16,7 +16,7 @@ import (
|
|||||||
|
|
||||||
// We use the json:"-" field tag to prevent showing these details to the user
|
// We use the json:"-" field tag to prevent showing these details to the user
|
||||||
type Secret struct {
|
type Secret struct {
|
||||||
SecretId int `db:"SecretId" json:"-"`
|
SecretId int `db:"SecretId"`
|
||||||
SafeId int `db:"SafeId"`
|
SafeId int `db:"SafeId"`
|
||||||
DeviceName string `db:"DeviceName"`
|
DeviceName string `db:"DeviceName"`
|
||||||
DeviceCategory string `db:"DeviceCategory"`
|
DeviceCategory string `db:"DeviceCategory"`
|
||||||
|
Reference in New Issue
Block a user