aboutsummaryrefslogtreecommitdiff
path: root/server/controllers
diff options
context:
space:
mode:
authorMateja <mail@matejamaric.com>2021-07-15 23:11:45 +0200
committerMateja <mail@matejamaric.com>2021-07-15 23:11:45 +0200
commit82524d55f5c9c96b523f1c280c870e04e9fc0f0b (patch)
treed790731c867af59c15a2fa5f570bd7e9621edf88 /server/controllers
parentdf8ab8735bcad64fc76e624940a0538681760775 (diff)
downloadmevn-ecommerce-82524d55f5c9c96b523f1c280c870e04e9fc0f0b.tar.gz
mevn-ecommerce-82524d55f5c9c96b523f1c280c870e04e9fc0f0b.zip
Setup `siteUrl` environment variable.
Diffstat (limited to 'server/controllers')
-rw-r--r--server/controllers/transaction.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/server/controllers/transaction.js b/server/controllers/transaction.js
index 119705e..a2226be 100644
--- a/server/controllers/transaction.js
+++ b/server/controllers/transaction.js
@@ -1,5 +1,6 @@
const paypal = require('@paypal/checkout-server-sdk');
const paypalClient = require('../config/paypal');
+const {siteUrl} = require('../config/env');
module.exports = {