From 96209ceaab7181bc3f65f88e18656d1222ff1456 Mon Sep 17 00:00:00 2001 From: Night Space <63776734+NightSpaceC@users.noreply.github.com> Date: Wed, 5 Jul 2023 13:28:36 +0800 Subject: [PATCH] fix(route/bilibili): fix the bug because of Promise syntax (#12755) --- lib/v2/bilibili/video-all.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/v2/bilibili/video-all.js b/lib/v2/bilibili/video-all.js index 3b42d024c2..95fdf6bb07 100644 --- a/lib/v2/bilibili/video-all.js +++ b/lib/v2/bilibili/video-all.js @@ -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`, {