feat: add new favorite photo trigger in flickr
This commit is contained in:

committed by
Ömer Faruk Aydın

parent
d4ad8645c9
commit
651cceec14
@@ -55,15 +55,23 @@ export default function AddAppConnection(props: AddAppConnectionProps): React.Re
|
||||
const step = steps[stepIndex];
|
||||
const variables = computeAuthStepVariables(step.arguments, response);
|
||||
|
||||
const stepResponse = await processStep(step, variables);
|
||||
try {
|
||||
const stepResponse = await processStep(step, variables);
|
||||
|
||||
response[step.name] = stepResponse;
|
||||
response[step.name] = stepResponse;
|
||||
} catch (err) {
|
||||
console.log(err);
|
||||
break;
|
||||
}
|
||||
|
||||
stepIndex++;
|
||||
|
||||
if (stepIndex === steps.length) {
|
||||
onClose();
|
||||
}
|
||||
}
|
||||
|
||||
setInProgress(false);
|
||||
onClose?.();
|
||||
}, [connectionId, key, reconnectionSteps, authenticationSteps, onClose]);
|
||||
|
||||
return (
|
||||
|
Reference in New Issue
Block a user