Skip to content

Commit

Permalink
fix(pipelines): add validator to webhook stage "method" field (#4263)
Browse files Browse the repository at this point in the history
  • Loading branch information
anotherchrisberry authored and Justin Reynolds committed Oct 13, 2017
1 parent a4cfb59 commit f240149
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ module(WEBHOOK_STAGE, [
executionDetailsUrl: require('./webhookExecutionDetails.html'),
validators: [
{type: 'requiredField', fieldName: 'url'},
{type: 'requiredField', fieldName: 'method'}
]
});
}).run((pipelineConfig: PipelineConfigProvider, API: Api) => {
Expand Down

0 comments on commit f240149

Please sign in to comment.