Skip to content

Commit 19c0434

Browse files
committed
update cacheMod in graphql
1 parent 5fb73da commit 19c0434

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/cubejs-api-gateway/src/graphql.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -653,7 +653,7 @@ export function makeSchema(metaConfig: any): GraphQLSchema {
653653
apiGateway.load({
654654
query,
655655
queryType: QueryType.REGULAR_QUERY,
656-
...(query.cache ? { cacheMode: query.cache } : {}),
656+
...(query.cache ? { cache: query.cache } : {}),
657657
context: req.context,
658658
res: async (message) => {
659659
if (message.error) {

0 commit comments

Comments
 (0)