From 7b67722ca4f5ba3141d97efd6a9cc68e569f874f Mon Sep 17 00:00:00 2001 From: Aiden Gerbrandt Date: Thu, 16 Apr 2026 10:20:13 -0500 Subject: [PATCH] Fixed blank entry detection logic --- index.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index 2c01032..c16fae9 100644 --- a/index.js +++ b/index.js @@ -116,8 +116,10 @@ function checkAPI() { let items = []; for (let j = 0; j < data.length; j++) { - if (data[j] != undefined || data[j] != null) { + if (data[j] != undefined && data[j] != null) { items.push(SERVICE_FUNC[s](data[j])); + } else { + data.splice(j); } }