/**
* @param { RunShopifySyncActionContext } context
*/
export async function run({ params, record, logger, api }) {
transitionState(record, {to: ShopifySyncState.Running});
applyParams(params, record);
await preventCrossShopDataAccess(params, record);
await save(record);
await shopifySync(params, record);
};
/**
* @param { RunShopifySyncActionContext } context
*/
export async function run({ params, record, logger, api }) {
transitionState(record, {to: ShopifySyncState.Running});
applyParams(params, record);
await preventCrossShopDataAccess(params, record);
await save(record);
await shopifySync(params, record);
};