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