aboutsummaryrefslogtreecommitdiff
path: root/server/config
diff options
context:
space:
mode:
Diffstat (limited to 'server/config')
-rw-r--r--server/config/paypal.js6
1 files changed, 1 insertions, 5 deletions
diff --git a/server/config/paypal.js b/server/config/paypal.js
index da6c2c3..3b45015 100644
--- a/server/config/paypal.js
+++ b/server/config/paypal.js
@@ -8,8 +8,4 @@ function environment() {
return new paypal.core.SandboxEnvironment(paypalClientId, paypalClientSecret);
}
-function client() {
- return new paypal.core.PayPalHttpClient(environment());
-}
-
-module.exports = client;
+module.exports = new paypal.core.PayPalHttpClient(environment());