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') {