Skip to content

Commit

Permalink
Forgot a rename in previous refactoring.
Browse files Browse the repository at this point in the history
  • Loading branch information
aioobe committed Sep 17, 2018
1 parent b65bdbb commit 54a7190
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webhook.go
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ func hookHandler(w http.ResponseWriter, r *http.Request) {
} else {
// Check if a success return code is configured for the hook
if matchedHook.SuccessHttpResponseCode != 0 {
writeHttpResponseCode(w, rid, matchedHook.ID, matchedHook.HttpResponseCode)
writeHttpResponseCode(w, rid, matchedHook.ID, matchedHook.SuccessHttpResponseCode)
}
fmt.Fprintf(w, response)
}
Expand Down

0 comments on commit 54a7190

Please sign in to comment.