mirror of
https://github.com/coder/coder.git
synced 2025-07-21 01:28:49 +00:00
fix: trim scope of agent private key route (#886)
This commit is contained in:
@ -110,9 +110,6 @@ func (api *api) agentGitSSHKey(rw http.ResponseWriter, r *http.Request) {
|
||||
|
||||
render.Status(r, http.StatusOK)
|
||||
render.JSON(rw, r, codersdk.AgentGitSSHKey{
|
||||
UserID: gitSSHKey.UserID,
|
||||
CreatedAt: gitSSHKey.CreatedAt,
|
||||
UpdatedAt: gitSSHKey.UpdatedAt,
|
||||
PrivateKey: gitSSHKey.PrivateKey,
|
||||
})
|
||||
}
|
||||
|
Reference in New Issue
Block a user