mirror of
https://github.com/Nezumi-2711/Sink.git
synced 2026-09-22 13:48:35 +00:00
fix: Filter out null values
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user