summaryrefslogtreecommitdiff
path: root/api/createPaypalOrder.js
diff options
context:
space:
mode:
Diffstat (limited to 'api/createPaypalOrder.js')
-rw-r--r--api/createPaypalOrder.js4
1 files changed, 0 insertions, 4 deletions
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];