From 6efde13e05ce8f516672106d93eeaa0c5224bc42 Mon Sep 17 00:00:00 2001 From: Joe Carstairs <65492573+Sycamost@users.noreply.github.com> Date: Tue, 8 Aug 2023 08:07:05 +0100 Subject: Removes logs --- api/createPaypalOrder.js | 4 ---- 1 file changed, 4 deletions(-) (limited to 'api/createPaypalOrder.js') diff --git a/api/createPaypalOrder.js b/api/createPaypalOrder.js index 0c85151..ac8ead0 100644 --- a/api/createPaypalOrder.js +++ b/api/createPaypalOrder.js @@ -44,10 +44,6 @@ function handler(request, response) { switch (_b.label) { case 0: _a = request.body, productDescription = _a.productDescription, shortDescription = _a.shortDescription, totalPrice = _a.totalPrice; - console.info('api/createPaypalOrder: Received body: '); - console.info('productDescription: ' + productDescription); - console.info('shortDescription: ' + shortDescription); - console.info('totalPrice: ' + totalPrice); if (!!productDescription) return [3 /*break*/, 1]; response.status(400).send('Expected body to contain productDescription, but none provided.'); return [3 /*break*/, 6]; -- cgit v1.2.3