debug
This commit is contained in:
parent
b96c2d6546
commit
b66e27d49b
@ -47,7 +47,7 @@ export const webhookRoutes = (fastify, _, done) => {
|
|||||||
if (contentType === 'application/atom+xml') {
|
if (contentType === 'application/atom+xml') {
|
||||||
try {
|
try {
|
||||||
// Parse the XML payload
|
// Parse the XML payload
|
||||||
console.log(body)
|
console.log(JSON.stringify(body))
|
||||||
const feed = body["feed"];
|
const feed = body["feed"];
|
||||||
// Example processing: log the video IDs of new videos
|
// Example processing: log the video IDs of new videos
|
||||||
const entry = feed.entry[0];
|
const entry = feed.entry[0];
|
||||||
|
Loading…
Reference in New Issue
Block a user