minor fixes
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user