From de01d9493feb1cd59120d5638e7635eeda5ca778 Mon Sep 17 00:00:00 2001 From: ekzyis Date: Mon, 30 Jun 2025 00:09:11 +0200 Subject: [PATCH] Fix missing cast to number (#2254) --- scripts/welcome.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/welcome.js b/scripts/welcome.js index b896ecb5..8a8bd31d 100755 --- a/scripts/welcome.js +++ b/scripts/welcome.js @@ -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') }