Sha256: 2e421e25cfa51ca4e2d71b950a8b80c1ee4cb26567512f7a30d7c9ff65ea54e0
Contents?: true
Size: 530 Bytes
Versions: 71
Compression:
Stored size: 530 Bytes
Contents
import { API_OPERATIONS, get } from 'foremanReact/redux/API'; import api, { orgId } from '../../services/api'; import { GET_CONTENT_CREDENTIALS_KEY } from './ContentCredentialConstants'; export const getContentCredentials = (params = {}) => { const defaultParams = { organization_id: orgId(), }; return get({ type: API_OPERATIONS.GET, key: GET_CONTENT_CREDENTIALS_KEY, url: api.getApiUrl('/content_credentials'), params: { ...defaultParams, ...params }, }); }; export default getContentCredentials;
Version data entries
71 entries across 71 versions & 1 rubygems