Fix SQL query column quoting in ChannelStartupService

This commit is contained in:
Marcelo Soares 2025-01-27 17:35:04 -03:00
parent 7f10a0eecd
commit 7519fe5139
No known key found for this signature in database
GPG Key ID: C569950031D33004

View File

@ -732,7 +732,7 @@ export class ChannelStartupService {
"Message"."messageTimestamp" DESC
)
SELECT * FROM rankedMessages
ORDER BY updatedAt DESC NULLS LAST;
ORDER BY "updatedAt" DESC NULLS LAST;
`;
if (results && isArray(results) && results.length > 0) {