mirror of
https://github.com/vale981/Vulcan
synced 2025-03-05 17:41:43 -05:00
fix export/import update.js
This commit is contained in:
parent
e63137a943
commit
a50fc3ddb3
3 changed files with 6 additions and 6 deletions
|
@ -5,7 +5,7 @@ import { onError } from 'apollo-link-error';
|
|||
import { ApolloLink } from 'apollo-link';
|
||||
import WatchedMutationLink from 'apollo-link-watched-mutation';
|
||||
import { MeteorAccountsLink } from 'meteor/apollo';
|
||||
import { WatchedMutations } from '../modules/updates';
|
||||
import { WatchedMutations } from './updates';
|
||||
|
||||
const cache = new InMemoryCache();
|
||||
|
||||
|
@ -28,9 +28,9 @@ const meteorAccountsLink = new MeteorAccountsLink();
|
|||
|
||||
export const apolloClient = new ApolloClient({
|
||||
link: ApolloLink.from([
|
||||
watchedMutationLink,
|
||||
errorLink,
|
||||
meteorAccountsLink,
|
||||
watchedMutationLink,
|
||||
errorLink,
|
||||
meteorAccountsLink,
|
||||
httpLink
|
||||
]),
|
||||
cache,
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
* @see https://github.com/haytko/apollo-link-watched-mutation
|
||||
*/
|
||||
import WatchedMutationLink from 'apollo-link-watched-mutation';
|
||||
import { WatchedMutations } from '../../modules/updates';
|
||||
import { WatchedMutations } from '../updates';
|
||||
import cache from '../updates'
|
||||
const watchedMutationLink = new WatchedMutationLink(cache, WatchedMutations);
|
||||
|
||||
|
|
|
@ -32,5 +32,5 @@ export * from './intl.js';
|
|||
export * from './detect_locale.js';
|
||||
export * from './graphql_templates.js';
|
||||
export * from './validation.js';
|
||||
export * from './updates.js';
|
||||
export * from './apollo-client/updates.js';
|
||||
// export * from './resolvers.js';
|
||||
|
|
Loading…
Add table
Reference in a new issue