Fix missing cast to number (#2254)
This commit is contained in:
parent
8337aad596
commit
de01d9493f
@ -119,7 +119,7 @@ async function fetchRecentBios () {
|
||||
)
|
||||
|
||||
// assert that we fetched enough bios
|
||||
const newBios = bios.filter(b => b.id > FETCH_AFTER)
|
||||
const newBios = bios.filter(b => Number(b.id) > FETCH_AFTER)
|
||||
if (newBios.length === bios.length) {
|
||||
throw new Error('last bio not found. increase limit')
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user