From 083e75a36bb82c9ce3db66249d099d5b734c077c Mon Sep 17 00:00:00 2001 From: George Herbert Date: Mon, 23 Sep 2024 21:07:01 +0100 Subject: [PATCH] fix: remove console.log --- packages/ingest/src/routers/ingest-router.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/packages/ingest/src/routers/ingest-router.ts b/packages/ingest/src/routers/ingest-router.ts index e1afec7..c90cbc6 100644 --- a/packages/ingest/src/routers/ingest-router.ts +++ b/packages/ingest/src/routers/ingest-router.ts @@ -8,11 +8,8 @@ const langchainService = new LangchainToLangscoutService(); // Updated /batch route router.post('/batch', (req, res) => { console.debug('POST /api/runs/batch'); - console.log('Received batch request:'); - if (Array.isArray(req.body)) { - console.log(`It was an array and the length was ${req.body.length}`); - } else if (typeof req.body === 'object' && req.body !== null) { + if (typeof req.body === 'object' && req.body !== null) { const keys = Object.keys(req.body); keys.forEach(async (key) => { if (key === 'post') {