Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
matassp committed Nov 8, 2019
1 parent 6e30f67 commit 1a851a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/controller/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ import (
func Sha256Handler(w http.ResponseWriter, r *http.Request) {
username := mux.Vars(r)["username"]
h, _ := hashes.GetHash("Sha256", username)
fmt.Fprint(w, h)
w.WriteHeader(http.StatusOK)
fmt.Fprint(w, h)
}

func GithubUsernameHandler(w http.ResponseWriter, r *http.Request) {
Expand Down

0 comments on commit 1a851a1

Please # to comment.