diff options
| -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); |
