Skip to content

Commit

Permalink
add log
Browse files Browse the repository at this point in the history
  • Loading branch information
sjoerdbeentjes committed Jul 31, 2024
1 parent a4f3166 commit 5232724
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lib/datocms.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ const camelCase = pipe(
const defaultFirst = 100

function executeFetch(query, variables = {}, preview = false) {
console.log('PREVIEW', preview)

const endpoint = preview
? 'https://graphql.datocms.com/preview'
: 'https://graphql.datocms.com/'
Expand Down

0 comments on commit 5232724

Please sign in to comment.