Skip to content

Commit

Permalink
check error 1
Browse files Browse the repository at this point in the history
  • Loading branch information
Ольга Машкова committed Sep 13, 2023
1 parent 55bf6c0 commit 405caf9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion transformer.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ func (a *transformer) ServeHTTP(rw http.ResponseWriter, req *http.Request) {

usernameHeader, okUser := req.Header["username"]
if !okUser {
http.Error(rw, "username header missing "+h[0], http.StatusInternalServerError)
http.Error(rw, "username header missing 1"+h[0], http.StatusInternalServerError)
}
newBody["username"] = usernameHeader[0]

Expand Down

0 comments on commit 405caf9

Please sign in to comment.