summaryrefslogtreecommitdiff
path: root/api/createPaypalOrder.js
diff options
context:
space:
mode:
authorJoe Carstairs <65492573+Sycamost@users.noreply.github.com>2023-08-08 08:07:05 +0100
committerJoe Carstairs <65492573+Sycamost@users.noreply.github.com>2023-08-08 08:07:05 +0100
commit6efde13e05ce8f516672106d93eeaa0c5224bc42 (patch)
treec6f4ca4c46145104a357247dc5d8cb0faea719f7 /api/createPaypalOrder.js
parentbf749ae1600696efc55ebf1cf44c7637afa8b0c7 (diff)
Removes logs
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];