Limited backlog

This commit is contained in:
2021-03-18 02:42:57 +11:00
parent 05f91ffebc
commit 66c1c99d5d
+2 -1
View File
@@ -66,7 +66,8 @@ const chat = io => {
},
order: [
['id', 'ASC']
]
],
limit: 50
})
.then(rows => rows.map(row => row.dataValues))
.then(rows => rows.filter(row => {