New Redux action to disconnect merchant

This commit is contained in:
Philipp Stracker 2025-01-13 14:16:46 +01:00
parent bc08aa74da
commit 401faf6975
No known key found for this signature in database
4 changed files with 29 additions and 0 deletions

View file

@ -212,6 +212,15 @@ export const authenticateWithOAuth = function* (
};
};
/**
* Side effect. Checks webhook simulation.
*
* @return {Action} The action.
*/
export const disconnectMerchant = function () {
return { type: ACTION_TYPES.DO_DISCONNECT_MERCHANT };
};
/**
* Side effect. Clears and refreshes the merchant data via a REST request.
*