UNPKG

cluedin-widget

Version:

This project contains all the pages needed for browsing entities and searching them. The aim is to replace the CluedIn.Webapp project with this one when all the pages ( including the Admin page ) will be ported to REACT.

14 lines (10 loc) 377 B
import { apiRequest, rawRequest } from '../helpers/request'; export const getCurrentProvider = () => ( apiRequest('GET', 'api/configuration/providers') ); export const getAllProvider = () => ( apiRequest('GET', 'api/configuration/providerlist') ); export const reAuthProvider = (provider) => ( rawRequest('GET', provider.ReAuthEndpoint).then((resp) => (resp.body)) );