From 7d3c3e4c901201ec3e7f93216ed696292b566828 Mon Sep 17 00:00:00 2001 From: Samika Kashyap Date: Wed, 17 Apr 2024 12:57:36 -0700 Subject: [PATCH] chore: remove bulky logs --- src/auth/index.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/auth/index.ts b/src/auth/index.ts index 7cccf41a7..19b583975 100644 --- a/src/auth/index.ts +++ b/src/auth/index.ts @@ -42,12 +42,12 @@ function buildBodyDigest(contentType: string | undefined, body: any): string | u if (contentType.includes('application/vnd.ipld.car')) { const carFactory = new CARFactory() carFactory.codecs.add(DAG_JOSE) - console.log('Will build a car file from req.body', body) - try { - console.log('Will build a car file from req.body (as utf8 string)', u8a.toString(body, 'base64')) - } catch(e) { - console.log('Couldn\'t convert req.body to string: ', e) - } + // console.log('Will build a car file from req.body', body) + // try { + // console.log('Will build a car file from req.body (as utf8 string)', u8a.toString(body, 'base64')) + // } catch(e) { + // console.log('Couldn\'t convert req.body to string: ', e) + // } const car = carFactory.fromBytes(body) if (!car.roots[0]) throw Error('Missing CAR root') return car.roots[0].toString()