diff options
| author | Adam Soltys <[email protected]> | 2023-02-15 22:53:59 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2023-02-15 22:53:59 -0800 |
| commit | 3ad6f0557b8cbf3abdf542f582e99135e3ac8362 (patch) | |
| tree | 0bba77a4fc4d1a417fa1016c382b50a1b43bd18b | |
| parent | b0c778addeeeb72181c7f2f431004c8b9b42aa35 (diff) | |
| download | coinos-server-3ad6f0557b8cbf3abdf542f582e99135e3ac8362.tar.gz coinos-server-3ad6f0557b8cbf3abdf542f582e99135e3ac8362.zip | |
var from config
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | routes/payments.js | 2 |
2 files changed, 1 insertions, 2 deletions
@@ -3,4 +3,3 @@ node_modules/ data config.js compose.yml -.env diff --git a/routes/payments.js b/routes/payments.js index a120ec33..04ebf00f 100644 --- a/routes/payments.js +++ b/routes/payments.js @@ -259,7 +259,7 @@ export default { async buy({ body: { amount, number, year, month, cvc }, user }, res) { let stripe = "https://api.stripe.com/v1"; - let { STRIPE: username } = process.env; + let { stripe: username } = config; let form = { "card[number]": number, |
