[mocks][m]: setup CKAN api mocks with the new apollo setup.

This commit is contained in:
anuveyatsu
2020-06-23 10:43:53 +06:00
parent 50119bf33f
commit 55d9c68b34
4 changed files with 39 additions and 20 deletions

View File

@@ -7,7 +7,7 @@ import { RestLink } from 'apollo-link-rest';
let apolloClient;
const restLink = new RestLink({
uri: 'https://demo.ckan.org/api/3/action/',
uri: getConfig().publicRuntimeConfig.DMS + '/api/3/action/',
typePatcher: {
Search: (
data: any,