aboutsummaryrefslogtreecommitdiffstats
path: root/routes/bitcoin
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2020-05-15 14:01:37 -0700
committerAdam Soltys <[email protected]>2020-05-15 14:01:37 -0700
commit0564e2f25bf6f6380bb78e6bcdb97bf49b5a9e13 (patch)
treef41f599c5183958f735c722a62bfb8a6bd5c2c63 /routes/bitcoin
parentb45deffeda2f616453b8284dcfb78d65a48b858e (diff)
downloadcoinos-server-0564e2f25bf6f6380bb78e6bcdb97bf49b5a9e13.tar.gz
coinos-server-0564e2f25bf6f6380bb78e6bcdb97bf49b5a9e13.zip
only return recipient username
Diffstat (limited to 'routes/bitcoin')
-rw-r--r--routes/bitcoin/fee.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/routes/bitcoin/fee.js b/routes/bitcoin/fee.js
index cac514b3..3faff265 100644
--- a/routes/bitcoin/fee.js
+++ b/routes/bitcoin/fee.js
@@ -4,6 +4,7 @@ module.exports = async (req, res) => {
let tx, fee;
let recipient = await db.User.findOne({
+ attributes: ['username'],
where: { address }
});