Add Filtering, HealthCheck, Better Tests (#350)
feat: add filtering when choosing merge requests (#346) feat: Add healthcheck (#345) refactor: Move to gomock (#349) feat: Makes the remote of the plugin configurable (#348) This is a #MINOR release.
This commit is contained in:
committed by
GitHub
parent
aa5d3c1f52
commit
4ae623cd65
@@ -16,7 +16,7 @@ type RevisionsResponse struct {
|
||||
revisionsHandler gets revision information about the current MR. This data is not used directly but is
|
||||
a precursor API call for other functionality
|
||||
*/
|
||||
func (a *api) revisionsHandler(w http.ResponseWriter, r *http.Request) {
|
||||
func (a *Api) revisionsHandler(w http.ResponseWriter, r *http.Request) {
|
||||
w.Header().Set("Content-Type", "application/json")
|
||||
if r.Method != http.MethodGet {
|
||||
w.Header().Set("Access-Control-Allow-Methods", http.MethodGet)
|
||||
|
||||
Reference in New Issue
Block a user