aboutsummaryrefslogtreecommitdiffstats
path: root/routes
diff options
context:
space:
mode:
Diffstat (limited to 'routes')
-rw-r--r--routes/users.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/routes/users.js b/routes/users.js
index 1fa04c6b..4644cc06 100644
--- a/routes/users.js
+++ b/routes/users.js
@@ -143,6 +143,7 @@ app.post("/user", auth, async (req, res) => {
let { user } = req;
let {
username,
+ unit,
currency,
currencies,
twofa,
@@ -169,6 +170,7 @@ app.post("/user", auth, async (req, res) => {
});
}
+ user.unit = unit;
user.currency = currency;
user.currencies = currencies;