Skip to content

Commit

Permalink
fix: remove console.log
Browse files Browse the repository at this point in the history
  • Loading branch information
georgeherby committed Sep 23, 2024
1 parent 7ab36e1 commit 083e75a
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions packages/ingest/src/routers/ingest-router.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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') {
Expand Down

0 comments on commit 083e75a

Please sign in to comment.