Skip to content

Commit

Permalink
use only get and post
Browse files Browse the repository at this point in the history
  • Loading branch information
js-jankisalvi committed Nov 1, 2024
1 parent 014790c commit 5eb6019
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import {
} from '../validator';
import { urlVars, urlVarsExt } from '../action_variables';
import * as i18n from '../translations';
import { HTTP_VERBS } from '../webhook_connectors';

const { emptyField, urlField } = fieldValidators;

interface Props {
Expand Down Expand Up @@ -71,7 +71,7 @@ export const GetStep: FunctionComponent<Props> = ({ display, readOnly }) => {
componentProps={{
euiFieldProps: {
'data-test-subj': 'webhookGetIncidentMethodSelect',
options: HTTP_VERBS.map((verb) => ({
options: ['get', 'post'].map((verb) => ({
text: verb.toUpperCase(),
value: verb,
})),
Expand Down

0 comments on commit 5eb6019

Please sign in to comment.