From 39ffd34c32f2c59e99d04610192cfddc0d1ea4de Mon Sep 17 00:00:00 2001 From: Sussurr <93532398+sussurr127@users.noreply.github.com> Date: Fri, 25 Aug 2023 17:49:04 +0800 Subject: [PATCH] fix(route): fix the title error for the YouTube Live (#13120) * feat(route): add router YouTube Live * add docs * Insert new entries in alphabetical order. * Fix the error in the title. --------- --- lib/v2/youtube/live.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/v2/youtube/live.js b/lib/v2/youtube/live.js index 186cfb82a..c42baf642 100644 --- a/lib/v2/youtube/live.js +++ b/lib/v2/youtube/live.js @@ -29,7 +29,7 @@ module.exports = async (ctx) => { const data = (await utils.getLive(channelId, ctx.cache)).data.items; ctx.state.data = { - title: `$${channelName || username}'s Live Status`, + title: `${channelName || username}'s Live Status`, link: `https://www.youtube.com/channel/${channelId}`, description: `$${channelName || username}'s live streaming status`, item: data.map((item) => {