diff options
| author | Adam Soltys <[email protected]> | 2021-08-17 14:13:16 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2021-08-17 14:15:42 -0700 |
| commit | dd088e8777718b17f88b1775db9e55972c3bc412 (patch) | |
| tree | 4080d35c0354a7811b117e0249e27debf60b6eec | |
| parent | ce5bd93918e3c185bf4980d6438f0e9e3fa05a3d (diff) | |
| download | coinos-server-dd088e8777718b17f88b1775db9e55972c3bc412.tar.gz coinos-server-dd088e8777718b17f88b1775db9e55972c3bc412.zip | |
order by id
| -rw-r--r-- | routes/send.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/routes/send.js b/routes/send.js index 9b4396ef..1a9783e0 100644 --- a/routes/send.js +++ b/routes/send.js @@ -85,6 +85,7 @@ module.exports = ah(async (req, res, next) => { let text = address || payreq; params = { where: { user_id: recipient.id }, + order: [["id", "DESC"]], }; if (text) params.where.text = text; let invoice = await db.Invoice.findOne(params); |
