fix: SQL query column quoting in ChannelStartupService

This commit is contained in:
Marcelo Soares 2025-01-27 17:42:04 -03:00
parent f11e3247f0
commit 503728e1e7
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) {