From b66e27d49b53cd2dc8f3badbb4a85cebea4ee927 Mon Sep 17 00:00:00 2001 From: Omer Sabic Date: Thu, 13 Jun 2024 22:25:19 +0200 Subject: [PATCH] debug --- src/routes/webhook.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/webhook.js b/src/routes/webhook.js index bce6dbd..699cc6c 100644 --- a/src/routes/webhook.js +++ b/src/routes/webhook.js @@ -47,7 +47,7 @@ export const webhookRoutes = (fastify, _, done) => { if (contentType === 'application/atom+xml') { try { // Parse the XML payload - console.log(body) + console.log(JSON.stringify(body)) const feed = body["feed"]; // Example processing: log the video IDs of new videos const entry = feed.entry[0];