diff options
| author | Adam Soltys <[email protected]> | 2020-07-06 08:59:27 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2020-07-06 08:59:27 -0700 |
| commit | 9306393fbe1de9840e75f6a6738b99418fafb50f (patch) | |
| tree | e4c07c39e13990c8d953975921c68241b92b6912 /routes/users.js | |
| parent | c748c1012b8bc174fb65c72100b6a35dc100b0ac (diff) | |
| download | coinos-server-9306393fbe1de9840e75f6a6738b99418fafb50f.tar.gz coinos-server-9306393fbe1de9840e75f6a6738b99418fafb50f.zip | |
lnurl withdrawal
Diffstat (limited to 'routes/users.js')
| -rw-r--r-- | routes/users.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/routes/users.js b/routes/users.js index 5a708d00..02e76b0b 100644 --- a/routes/users.js +++ b/routes/users.js @@ -200,6 +200,7 @@ app.post("/user", auth, async (req, res) => { let { user } = req; let { username, + fiat, unit, currency, currencies, @@ -240,6 +241,7 @@ app.post("/user", auth, async (req, res) => { user.twofa = twofa; user.pin = pin; user.seed = seed; + user.fiat = fiat; if (password && password === passconfirm) { user.password = await bcrypt.hash(password, 1); |
