diff options
| author | Adam Soltys <[email protected]> | 2020-06-08 13:04:02 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2020-06-08 13:04:02 -0700 |
| commit | 7a3a07bc711ea57fd8a84e809e7ecd0d6e64b5c2 (patch) | |
| tree | b31a06affa4b932990744997c271f6d65502d60c /routes/liquid/send.js | |
| parent | 298672d3f50938ba06a16f8e04d607b7033703b8 (diff) | |
| download | coinos-server-7a3a07bc711ea57fd8a84e809e7ecd0d6e64b5c2.tar.gz coinos-server-7a3a07bc711ea57fd8a84e809e7ecd0d6e64b5c2.zip | |
reduce network traffic
Diffstat (limited to 'routes/liquid/send.js')
| -rw-r--r-- | routes/liquid/send.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/routes/liquid/send.js b/routes/liquid/send.js index e4344238..321adba2 100644 --- a/routes/liquid/send.js +++ b/routes/liquid/send.js @@ -115,8 +115,8 @@ module.exports = async (req, res) => { } } - user = await getUser(user.username, transaction); - emit(user.username, "user", user); + emit(user.username, "account", main.account); + emit(user.username, "payment", main); res.send(main); }); } catch (e) { |
