From f00d5fbde4be2469f29c8bf758cc2fb8a1bf8376 Mon Sep 17 00:00:00 2001 From: ChrisChrome Date: Tue, 28 Oct 2025 07:37:15 -0600 Subject: [PATCH] Buh --- index.js | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/index.js b/index.js index d5738c0..fefd930 100644 --- a/index.js +++ b/index.js @@ -31,16 +31,7 @@ const main = () => { }).then(async (response) => { // Responses are an array of objects. The first should always have eventlist: 'start', and last should have eventlist: 'complete'. Remove these, make an array of objects {key, val} based on the rest of the response objects. let entries = response.filter(r => r.eventlist !== 'start' && r.eventlist !== 'complete').map(r => ({ key: r.key, val: r.val })); - for (let entry of entries) { - let [type, ext] = entry.key.split('/'); - if (cfTypes[type]) { - respData.push({ - extension: ext, - type: type, - target: entry.val - }); - } - } + console.log(entries) }).then(() => { sock.getList({