Skip to content

Commit aaed8b9

Browse files
committed
fix: possible bug
1 parent 2466fd5 commit aaed8b9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

source/plugins/vndb/index.mjs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,9 @@ async function getRecentlyPlayingVnList(imports, uid, max) {
102102
}
103103

104104
async function addExtraInfo(imports, vns) {
105+
if (vns.length == 0) {
106+
return
107+
}
105108
let ft = ["or"]
106109
for (let i = 0; i < vns.length; i++) {
107110
ft.push(["id", "=", vns[i].id])

0 commit comments

Comments
 (0)