Sha256: b2056faf2b921266c5c1647161ccb7eba4fbbd96d89f11ba44afd91e3f5f046b
Contents?: true
Size: 461 Bytes
Versions: 23
Compression:
Stored size: 461 Bytes
Contents
import { API_OPERATIONS, get } from 'foremanReact/redux/API'; import { foremanApi } from '../../../../../services/api'; import { HOST_PACKAGES_KEY, } from './HostPackagesConstants'; export const getInstalledPackagesWithLatest = (hostId, params) => get({ type: API_OPERATIONS.GET, key: HOST_PACKAGES_KEY, url: foremanApi.getApiUrl(`/hosts/${hostId}/packages?include_latest_upgradable=true`), params, }); export default getInstalledPackagesWithLatest;
Version data entries
23 entries across 23 versions & 1 rubygems