Skip to content

Commit

Permalink
fixed method
Browse files Browse the repository at this point in the history
  • Loading branch information
YulNaumenko committed Jul 16, 2020
1 parent c428675 commit bfc9076
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@ const WebhookActionConnectorFields: React.FunctionComponent<ActionConnectorField
const [httpHeaderValue, setHttpHeaderValue] = useState<string>('');
const [hasHeaders, setHasHeaders] = useState<boolean>(false);

editActionConfig('method', 'post'); // set method to POST by default
if (!method) {
editActionConfig('method', 'post'); // set method to POST by default
}

const headerErrors = {
keyHeader: new Array<string>(),
Expand Down

0 comments on commit bfc9076

Please sign in to comment.