fix: Filter out null values
This commit is contained in:
parent
3ff84f61cb
commit
f2a4a5963d
1 changed files with 1 additions and 1 deletions
|
|
@ -14,7 +14,7 @@ async function getLinks() {
|
||||||
cursor,
|
cursor,
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
links.value = links.value.concat(data.links)
|
links.value = links.value.concat(data.links).filter(Boolean) // Sometimes cloudflare will return null, filter out
|
||||||
cursor = data.cursor
|
cursor = data.cursor
|
||||||
listComplete = data.list_complete
|
listComplete = data.list_complete
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue