feat: add audit package (#1046)

This commit is contained in:
Colin Adler
2022-04-25 13:57:59 -05:00
committed by GitHub
parent a2dd618849
commit 2a57ea757a
8 changed files with 411 additions and 2 deletions

View File

@ -152,7 +152,7 @@ func (api *api) users(rw http.ResponseWriter, r *http.Request) {
}
// Creates a new user.
func (api *api) postUsers(rw http.ResponseWriter, r *http.Request) {
func (api *api) postUser(rw http.ResponseWriter, r *http.Request) {
apiKey := httpmw.APIKey(r)
var createUser codersdk.CreateUserRequest