feat: Add helper output on failed gitssh (#1127)

This commit is contained in:
Kyle Carberry
2022-04-25 00:29:15 -05:00
committed by GitHub
parent 4417dd5951
commit 7e33d80fa9
5 changed files with 24 additions and 6 deletions

View File

@ -105,6 +105,7 @@ func (api *api) agentGitSSHKey(rw http.ResponseWriter, r *http.Request) {
}
httpapi.Write(rw, http.StatusOK, codersdk.AgentGitSSHKey{
PublicKey: gitSSHKey.PublicKey,
PrivateKey: gitSSHKey.PrivateKey,
})
}