Sha256: b08260710471b2d110a767607e9cbfd1a7819636d621689ea0bfee6757069da2
Contents?: true
Size: 380 Bytes
Versions: 6
Compression:
Stored size: 380 Bytes
Contents
import { getURI } from 'foremanReact/common/urlHelpers'; import { get } from 'foremanReact/redux/API'; import { withInterval } from 'foremanReact/redux/middlewares/IntervalMiddleware'; import { TARGETING_HOSTS } from './TargetingHostsConsts'; const url = getURI().addQuery('format', 'json'); export const getData = () => withInterval(get({ key: TARGETING_HOSTS, url }), 1000);
Version data entries
6 entries across 6 versions & 1 rubygems