Skip to content

Commit

Permalink
Merge branch 'epic/donation-forms-migration' of github.com:impress-or…
Browse files Browse the repository at this point in the history
…g/give into epic/donation-forms-migration
  • Loading branch information
kjohnson committed Jul 28, 2023
2 parents a175cab + 80d0805 commit 7ea76c1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ export function DonationFormsRowActions({data, item, removeRow, addRow, setUpdat
...prev,
showTransferSuccessDialog: true,
formName: item?.name,
formId: id
}))

return await fetchAndUpdateErrors(parameters, '/transfer', id, 'POST')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ export default function TransferSuccessDialog({handleClose, formName, formId}) {
'Content-Type': 'application/json',
'X-WP-Nonce': window.GiveDonationForms.apiNonce
},
body: JSON.stringify(params)
body: JSON.stringify({...params, formId})
}).then((response) => {
setState(prev => ({
...prev,
Expand Down

0 comments on commit 7ea76c1

Please sign in to comment.