Skip to content

Commit 503728e

Browse files
fix: SQL query column quoting in ChannelStartupService
1 parent f11e324 commit 503728e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/api/services/channel.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -732,7 +732,7 @@ export class ChannelStartupService {
732732
"Message"."messageTimestamp" DESC
733733
)
734734
SELECT * FROM rankedMessages
735-
ORDER BY updatedAt DESC NULLS LAST;
735+
ORDER BY "updatedAt" DESC NULLS LAST;
736736
`;
737737

738738
if (results && isArray(results) && results.length > 0) {

0 commit comments

Comments
 (0)