Merge pull request #1179 from MarceloSoaresJr/develop

bugfix: SQL query column quoting in ChannelStartupService
This commit is contained in:
Davidson Gomes 2025-01-28 18:41:14 -03:00 committed by GitHub
commit 96549664c9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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