diff --git a/packages/web/src/components/AppConnectionRow/index.tsx b/packages/web/src/components/AppConnectionRow/index.tsx index e6ed9bbc..412b4d98 100644 --- a/packages/web/src/components/AppConnectionRow/index.tsx +++ b/packages/web/src/components/AppConnectionRow/index.tsx @@ -71,7 +71,7 @@ function AppConnectionRow(props: AppConnectionRowProps): React.ReactElement { enqueueSnackbar(formatMessage('connection.deletedMessage'), { variant: 'success' }); } else if (action.type === 'test') { setVerificationVisible(true); - testConnection({ variables: { input: { id } } }); + testConnection({ variables: { id } }); } }, [deleteConnection, id, testConnection, formatMessage, enqueueSnackbar]); diff --git a/packages/web/src/components/ChooseAccountSubstep/index.tsx b/packages/web/src/components/ChooseAccountSubstep/index.tsx index bfb60a44..c9d7139b 100644 --- a/packages/web/src/components/ChooseAccountSubstep/index.tsx +++ b/packages/web/src/components/ChooseAccountSubstep/index.tsx @@ -54,7 +54,7 @@ function ChooseAccountSubstep(props: ChooseAccountSubstepProps): React.ReactElem TEST_CONNECTION, { variables: { - input: { id: connection?.id, } + id: connection?.id, } } ); @@ -63,7 +63,7 @@ function ChooseAccountSubstep(props: ChooseAccountSubstepProps): React.ReactElem if (connection?.id) { testConnection({ variables: { - input: { id: connection.id, } + id: connection.id, } }); } @@ -97,9 +97,7 @@ function ChooseAccountSubstep(props: ChooseAccountSubstepProps): React.ReactElem React.useEffect(() => { if (step.connection?.id) { retestConnection({ - input: { - id: step.connection.id, - }, + id: step.connection.id, }); } }, [step.connection?.id, retestConnection])