minor fixes

This commit is contained in:
grimhilt committed 2023-04-16 15:22:49 +02:00
1 parent 614f7d9802
commit 0f063deff9
4 files changed
+22 -3

No files matched your search

+1 -1
View File
@@ -122,7 +122,7 @@ export async function getMessages(roomId: number) {
WHERE msg.room_id = ?
GROUP BY msg.message_id
ORDER BY message.idate DESC;
ORDER BY message.idate ASC;
`;
const values = [roomId];
return await execQueryAsync(query, values);