diff options
| author | Adam Soltys <[email protected]> | 2020-07-29 19:58:01 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2020-07-29 20:37:30 -0700 |
| commit | 68556f9272a66c0cf4d9deacc340e59da045fdd1 (patch) | |
| tree | ac757c64476d4ac6ae824d00584921d0b9760ae0 | |
| parent | 1a17f628460b4948ff9edffe400aa26b60d37f3b (diff) | |
| download | coinos-server-68556f9272a66c0cf4d9deacc340e59da045fdd1.tar.gz coinos-server-68556f9272a66c0cf4d9deacc340e59da045fdd1.zip | |
put redeem code in payment hash
| -rw-r--r-- | routes/send.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/routes/send.js b/routes/send.js index 8ffff4dd..6487e201 100644 --- a/routes/send.js +++ b/routes/send.js @@ -44,6 +44,7 @@ module.exports = ah(async (req, res, next) => { if (!username) { l.info("creating redeemable payment"); params.redeemcode = uuidv4(); + params.hash = 'Voucher ' + params.redeemcode; } let payment = await db.Payment.create(params, { transaction }); |
