Skip to content

Commit

Permalink
fix: getGqlPossibleTypes expects a memcache instance
Browse files Browse the repository at this point in the history
  • Loading branch information
emuvente committed Sep 25, 2024
1 parent 9f0a576 commit 6cc890c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 38 deletions.
36 changes: 0 additions & 36 deletions server/util/vueSsrCache.js

This file was deleted.

3 changes: 1 addition & 2 deletions server/vue-render.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import initCache from './util/initCache.js';
import { info } from './util/log.js';
import vueSsrCache from './util/vueSsrCache.js';
import getGqlPossibleTypes from './util/getGqlPossibleTypes.js';
import getSessionCookies from './util/getSessionCookies.js';

Expand All @@ -19,7 +18,7 @@ export default async function render({

// if cache is not initialized, initialize it
if (!cache) {
cache = vueSsrCache(initCache(serverConfig));
cache = initCache(serverConfig);
}

// get graphql api possible types for the graphql client
Expand Down

0 comments on commit 6cc890c

Please sign in to comment.