mirror of
https://github.com/coder/coder.git
synced 2026-06-02 20:48:20 +00:00
fix: trim scope of agent private key route (#886)
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user