Skip to content

Commit

Permalink
fix: gofmt error. (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
appleboy authored May 30, 2017
1 parent 9f37da0 commit 87b87d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion authz.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,6 @@ func (a *BasicAuthorizer) CheckPermission(r *http.Request) bool {

// RequirePermission returns the 403 Forbidden to the client
func (a *BasicAuthorizer) RequirePermission(w http.ResponseWriter) {
w.WriteHeader(403)
w.WriteHeader(403)
w.Write([]byte("403 Forbidden\n"))
}

0 comments on commit 87b87d5

Please sign in to comment.