Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Commit

Permalink
Fix invalid value for new parameters and headers on Custom Destination (
Browse files Browse the repository at this point in the history
#73)

* Fix invalid value for new parameters and headers on Custom Webhook Destination.

* Changed strings to single quotes
  • Loading branch information
ricardobessadacosta authored and dbbaughe committed Jul 19, 2019
1 parent c0c9272 commit bca4cc6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ const HeaderParamsEditor = ({ type, headerParams }) => (
validateOnChange={true}
render={arrayHelpers => (
<AttributeEditor
onAdd={() => arrayHelpers.push({})}
onAdd={() => arrayHelpers.push({ key: '', value: '' })}
onRemove={index => index !== 0 && arrayHelpers.remove(index)}
items={headerParams}
name={`${type}.headerParams`}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ const QueryParamsEditor = ({ type, queryParams }) => (
render={arrayHelpers => (
<AttributeEditor
titleText="Query parameters"
onAdd={() => arrayHelpers.push({})}
onAdd={() => arrayHelpers.push({ key: '', value: '' })}
onRemove={index => arrayHelpers.remove(index)}
items={queryParams}
name={`${type}.queryParams`}
Expand Down

0 comments on commit bca4cc6

Please sign in to comment.