Sha256: ffc70f5615fdf01b23558afe1115fd3c4800d9628d639107f3c05b795eec78e1
Contents?: true
Size: 525 Bytes
Versions: 57
Compression:
Stored size: 525 Bytes
Contents
import { API_OPERATIONS, get } from 'foremanReact/redux/API'; import { errorToast } from '../../../../../scenes/Tasks/helpers'; import { foremanApi } from '../../../../../services/api'; import { MODULE_STREAMS_KEY } from './ModuleStreamsConstants'; export const getHostModuleStreams = (hostId, params) => get({ type: API_OPERATIONS.GET, key: MODULE_STREAMS_KEY, url: foremanApi.getApiUrl(`/hosts/${hostId}/module_streams`), errorToast: error => errorToast(error), params, }); export default getHostModuleStreams;
Version data entries
57 entries across 57 versions & 1 rubygems