Skip to content

Commit 47f46c4

Browse files
committed
Remove useless comments
1 parent 8ed52ed commit 47f46c4

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

routers/api/v1/convert/convert.go

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -78,14 +78,12 @@ func ToGPGKey(key *models.GPGKey) *api.GPGKey {
7878
subkeys := make([]*api.GPGKey, len(key.SubsKey))
7979
for id, k := range key.SubsKey {
8080
subkeys[id] = &api.GPGKey{
81-
ID: k.ID,
82-
PrimaryKeyID: k.PrimaryKeyID,
83-
KeyID: k.KeyID,
84-
PublicKey: k.Content,
85-
Created: k.Created,
86-
Expires: k.Expired,
87-
//Emails: emails,
88-
//SubsKey: subkeys,
81+
ID: k.ID,
82+
PrimaryKeyID: k.PrimaryKeyID,
83+
KeyID: k.KeyID,
84+
PublicKey: k.Content,
85+
Created: k.Created,
86+
Expires: k.Expired,
8987
CanSign: k.CanSign,
9088
CanEncryptComms: k.CanEncryptComms,
9189
CanEncryptStorage: k.CanEncryptStorage,

0 commit comments

Comments
 (0)