diff --git a/gatsby-node.js b/gatsby-node.js index 051b8da..c575578 100644 --- a/gatsby-node.js +++ b/gatsby-node.js @@ -448,7 +448,7 @@ async function processFileStaticQueries( file, nodes, cache ) { results.push( result ); } - const hash = hashQuery( finalQuery ); + const hash = hashQuery( staticQuery ); const json = JSON.stringify( result ); results.push( { hash, json } ); diff --git a/package.json b/package.json index b01f3c3..1bee42c 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-plugin-groq", "description": "Gatsby plugin for using GROQ in place of GraphQL", - "version": "1.0.0-alpha.10", + "version": "1.0.0-alpha.11", "author": "Kevin McAloon ", "keywords": [ "gatsby"