webpack/components/extensions/HostDetails/Tabs/ModuleStreamsTab/ModuleStreamsActions.js in katello-4.4.2.2 vs webpack/components/extensions/HostDetails/Tabs/ModuleStreamsTab/ModuleStreamsActions.js in katello-4.5.0.rc1

- old
+ new

@@ -1,10 +1,8 @@ import { API_OPERATIONS, get } from 'foremanReact/redux/API'; +import { errorToast } from '../../../../../scenes/Tasks/helpers'; import { foremanApi } from '../../../../../services/api'; -import { getResponseErrorMsgs } from '../../../../../utils/helpers'; import { MODULE_STREAMS_KEY } from './ModuleStreamsConstants'; - -const errorToast = error => getResponseErrorMsgs(error.response); export const getHostModuleStreams = (hostId, params) => get({ type: API_OPERATIONS.GET, key: MODULE_STREAMS_KEY, url: foremanApi.getApiUrl(`/hosts/${hostId}/module_streams`),