mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2025-12-22 07:28:29 +03:00
Add title to webhook
This commit is contained in:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user