fix(route/bilibili): fix the bug because of Promise syntax (#12755)
This commit is contained in:
parent
7e45fe12e9
commit
96209ceaab
|
|
@ -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`, {
|
||||
|
|
|
|||
Loading…
Reference in New Issue