aboutsummaryrefslogtreecommitdiffstats
path: root/modules/structs/user_gpgkey.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/structs/user_gpgkey.go')
-rw-r--r--modules/structs/user_gpgkey.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/structs/user_gpgkey.go b/modules/structs/user_gpgkey.go
index ff9b0aea1d..deae70de33 100644
--- a/modules/structs/user_gpgkey.go
+++ b/modules/structs/user_gpgkey.go
@@ -21,9 +21,9 @@ type GPGKey struct {
CanCertify bool `json:"can_certify"`
Verified bool `json:"verified"`
// swagger:strfmt date-time
- Created time.Time `json:"created_at,omitempty"`
+ Created time.Time `json:"created_at"`
// swagger:strfmt date-time
- Expires time.Time `json:"expires_at,omitempty"`
+ Expires time.Time `json:"expires_at"`
}
// GPGKeyEmail an email attached to a GPGKey