diff options
| author | Adam Soltys <[email protected]> | 2020-09-04 23:00:34 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2020-09-04 23:00:34 -0700 |
| commit | f82838d4682de4717f6a66be2a7903fdab83cbce (patch) | |
| tree | 6a0c5b45086730e1e99a05731f747e3bd5aaddad /routes | |
| parent | be116dbb74e4574e98d5ba475a8f0613986c2135 (diff) | |
| download | coinos-server-f82838d4682de4717f6a66be2a7903fdab83cbce.tar.gz coinos-server-f82838d4682de4717f6a66be2a7903fdab83cbce.zip | |
remove faucet
Diffstat (limited to 'routes')
| -rw-r--r-- | routes/users.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/routes/users.js b/routes/users.js index 58738b72..5b5cf1e0 100644 --- a/routes/users.js +++ b/routes/users.js @@ -58,7 +58,7 @@ app.post( ah(async (req, res) => { try { const ip = req.headers["x-forwarded-for"] || req.connection.remoteAddress; - const user = await register(req.body.user, ip, true); + const user = await register(req.body.user, ip, false); res.send(pick(user, ...whitelist)); } catch (e) { res.status(500).send(e.message); @@ -500,7 +500,7 @@ app.post( amount: -source.amount, account_id: account.id, user_id: user.id, - hash: "Redeemed Voucher " + redeemcode, + hash: "Voucher " + redeemcode, memo, rate: app.get("rates")[user.currency], currency: user.currency, |
