aboutsummaryrefslogtreecommitdiffstats
path: root/routes/users.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2020-07-06 08:59:27 -0700
committerAdam Soltys <[email protected]>2020-07-06 08:59:27 -0700
commit9306393fbe1de9840e75f6a6738b99418fafb50f (patch)
treee4c07c39e13990c8d953975921c68241b92b6912 /routes/users.js
parentc748c1012b8bc174fb65c72100b6a35dc100b0ac (diff)
downloadcoinos-server-9306393fbe1de9840e75f6a6738b99418fafb50f.tar.gz
coinos-server-9306393fbe1de9840e75f6a6738b99418fafb50f.zip
lnurl withdrawal
Diffstat (limited to 'routes/users.js')
-rw-r--r--routes/users.js2
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);