diff options
| author | Adam Soltys <[email protected]> | 2020-05-15 14:01:37 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2020-05-15 14:01:37 -0700 |
| commit | 0564e2f25bf6f6380bb78e6bcdb97bf49b5a9e13 (patch) | |
| tree | f41f599c5183958f735c722a62bfb8a6bd5c2c63 /routes/bitcoin | |
| parent | b45deffeda2f616453b8284dcfb78d65a48b858e (diff) | |
| download | coinos-server-0564e2f25bf6f6380bb78e6bcdb97bf49b5a9e13.tar.gz coinos-server-0564e2f25bf6f6380bb78e6bcdb97bf49b5a9e13.zip | |
only return recipient username
Diffstat (limited to 'routes/bitcoin')
| -rw-r--r-- | routes/bitcoin/fee.js | 1 |
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 } }); |
