Skip to content

Commit

Permalink
add logs
Browse files Browse the repository at this point in the history
  • Loading branch information
sjoerdbeentjes committed Jul 31, 2024
1 parent 60dd1df commit 0a345f2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/api/sync-viewer-layer-background.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ export const handler = withServerDefaults(async (event, _) => {

const layerData = JSON.parse(event.body)

console.log('received webhook call with data: ', layerData)

const viewerLayerId = layerData.entity.id

const { menus } = await datocmsRequest({
Expand Down

0 comments on commit 0a345f2

Please sign in to comment.