Skip to content

Commit

Permalink
matcher: return OK instead of Created
Browse files Browse the repository at this point in the history
  • Loading branch information
hdonnay committed Mar 5, 2020
1 parent c097454 commit 0017946
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion matcher/httptransport.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ func (h *HTTP) VulnerabilityReportHandler(w http.ResponseWriter, r *http.Request
return
}

w.WriteHeader(http.StatusCreated)
w.WriteHeader(http.StatusOK)
err = json.NewEncoder(w).Encode(vulnReport)
if err != nil {
resp := &je.Response{
Expand Down

0 comments on commit 0017946

Please sign in to comment.