fix: trim scope of agent private key route (#886)

This commit is contained in:
Garrett Delfosse
2022-04-06 09:54:13 -05:00
committed by GitHub
parent 9da17be61e
commit 32759a8714
2 changed files with 1 additions and 7 deletions
+1 -4
View File
@@ -19,10 +19,7 @@ type GitSSHKey struct {
}
type AgentGitSSHKey struct {
UserID uuid.UUID `json:"user_id"`
CreatedAt time.Time `json:"created_at"`
UpdatedAt time.Time `json:"updated_at"`
PrivateKey string `json:"private_key"`
PrivateKey string `json:"private_key"`
}
// GitSSHKey returns the user's git SSH public key.