Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
fetchServerVersion: () => dispatch(sdkActions.get({ uri: '/version' })),
});
export const fetchStateMachines = requestOptions =>
sdkActions.get({
mcApiProxyTarget: MC_API_PROXY_TARGETS.COMMERCETOOLS_PLATFORM,
service: 'states',
options: requestOptions,
});
export const fetchStateMachine = id =>
sdkActions.get({
mcApiProxyTarget: MC_API_PROXY_TARGETS.COMMERCETOOLS_PLATFORM,
service: 'states',
options: { id },
});
getOrganizationByName: name =>
dispatch(sdkActions.get({ uri: `/sso/organization?name=${name}` })),
});