aboutsummaryrefslogtreecommitdiffstats
path: root/routes/users.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2024-01-29 15:06:09 -0800
committerAdam Soltys <[email protected]>2024-01-29 15:06:09 -0800
commit86404448e9a06b6fd5b6ea341bda8ba372f88a66 (patch)
tree2d22cfb80d9797236f8f7ec74acc6d98652666a1 /routes/users.js
parent96f865cd9c9e70205d062e0cda86e0114afb5fbc (diff)
downloadcoinos-server-86404448e9a06b6fd5b6ea341bda8ba372f88a66.tar.gz
coinos-server-86404448e9a06b6fd5b6ea341bda8ba372f88a66.zip
autowithdrawals
Diffstat (limited to 'routes/users.js')
-rw-r--r--routes/users.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/routes/users.js b/routes/users.js
index dff3f7bc..8e2a0d14 100644
--- a/routes/users.js
+++ b/routes/users.js
@@ -41,6 +41,7 @@ export default {
user.prompt = !!user.prompt;
if (user.pubkey)
user.npub = encode("npub", toWords(Buffer.from(user.pubkey, "hex")));
+
res.send(pick(user, whitelist));
} catch (e) {
console.log("problem fetching user", e);
@@ -237,6 +238,7 @@ export default {
"prompt",
"profile",
"pubkey",
+ "reserve",
"salt",
"seed",
"threshold",
@@ -244,7 +246,6 @@ export default {
"twofa",
"shopifyToken",
"shopifyStore",
- "withdrawal",
];
for (let a of attributes) {