Sha256: 76cdc4384cf27821f7f497ddc0019f59d3f4191051184b35181b54117e1668f6
Contents?: true
Size: 608 Bytes
Versions: 2
Compression:
Stored size: 608 Bytes
Contents
import { API_OPERATIONS, get } from 'foremanReact/redux/API'; import katelloApi from '../../../../services/api'; import { HOST_YUM_INSTALLABLE_PACKAGES_KEY } from './YumInstallablePackagesConstants'; export const getHostYumInstallablePackages = (hostId, params) => get({ type: API_OPERATIONS.GET, key: HOST_YUM_INSTALLABLE_PACKAGES_KEY, url: katelloApi.getApiUrl('/packages'), params: { ...params, host_id: hostId, packages_restrict_not_installed: true, packages_restrict_applicable: false, packages_restrict_latest: true, }, }); export default getHostYumInstallablePackages;
Version data entries
2 entries across 2 versions & 1 rubygems