fix(route/bilibili): fix the bug because of Promise syntax (#12755)

This commit is contained in:
Night Space
2023-07-05 13:28:36 +08:00
committed by GitHub
parent 7e45fe12e9
commit 96209ceaab
+1 -1
View File
@@ -8,7 +8,7 @@ module.exports = async (ctx) => {
const uid = ctx.params.uid;
const disableEmbed = ctx.params.disableEmbed;
const cookie = await cache.getCookie(ctx);
const verifyString = cache.getVerifyString(ctx);
const verifyString = await cache.getVerifyString(ctx);
const [name, face] = await cache.getUsernameAndFaceFromUID(ctx, uid);
await got(`https://space.bilibili.com/${uid}/video?tid=0&page=1&keyword=&order=pubdate`, {