Sha256: f2e889f091cb3897f268ae075b873a815410d1737cf40011c8abefd975b5de75
Contents?: true
Size: 523 Bytes
Versions: 20
Compression:
Stored size: 523 Bytes
Contents
import { API_OPERATIONS, get } from 'foremanReact/redux/API'; import api, { orgId } from '../../services/api'; import CONTENT_VIEWS_KEY from './ContentViewsConstants'; export const createContentViewsParams = extraParams => ({ organization_id: orgId(), nondefault: true, ...extraParams, }); const getContentViews = extraParams => get({ type: API_OPERATIONS.GET, key: CONTENT_VIEWS_KEY, url: api.getApiUrl('/content_views'), params: createContentViewsParams(extraParams), }); export default getContentViews;
Version data entries
20 entries across 20 versions & 1 rubygems