Skip to content

Commit

Permalink
fix: bvid2aid
Browse files Browse the repository at this point in the history
  • Loading branch information
lovegaoshi committed Apr 19, 2024
1 parent e4a1158 commit ecc191e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/Bilibili/BiliOperate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ export const sendBVFavorite = async (
},
referrer: `https://www.bilibili.com/video/${bvid}/`,
body: {
rid: BVIDtoAID(bvid),
rid: await BVIDtoAID(bvid),
add_media_ids: addfav.join(','),
del_media_ids: removefav.join(','),
csrf: biliJct,
Expand Down

0 comments on commit ecc191e

Please sign in to comment.