From 920d288f0b4c58ffda78edcebfe519414a889441 Mon Sep 17 00:00:00 2001 From: Ajay Date: Fri, 25 Apr 2025 13:00:34 -0400 Subject: [PATCH] Add title to webhook --- src/routes/postBranding.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/routes/postBranding.ts b/src/routes/postBranding.ts index 5850c4e..5900849 100644 --- a/src/routes/postBranding.ts +++ b/src/routes/postBranding.ts @@ -78,7 +78,8 @@ export async function postBranding(req: Request, res: Response) { "description": `**User Agent**: ${userAgent}\ \n**Sent User Agent**: ${req.body.userAgent}\ \n**Real User Agent**: ${req.headers["user-agent"]}\ - \n**Video Duration**: ${videoDuration}`, + \n**Video Duration**: ${videoDuration}\ + \n**Title**: ${title?.title}`, "color": 1184701, "thumbnail": { "url": getMaxResThumbnail(videoID),