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.

---------
This commit is contained in:
Sussurr
2023-08-25 17:49:04 +08:00
committed by GitHub
parent 862aa9e3e4
commit 39ffd34c32
+1 -1
View File
@@ -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) => {