small updates
This commit is contained in:
@@ -51,7 +51,7 @@ func (cfg *apiConfig) handlerUsersCreate(w http.ResponseWriter, r *http.Request)
|
||||
return
|
||||
}
|
||||
|
||||
respondWithJSON(w, http.StatusOK, databaseUserToUser(user))
|
||||
respondWithJSON(w, http.StatusCreated, databaseUserToUser(user))
|
||||
}
|
||||
|
||||
func generateRandomSHA256Hash() (string, error) {
|
||||
|
||||
Reference in New Issue
Block a user