Skip to content

Commit f31fe50

Browse files
matheusmartinsInspermatheusmartinsInsper
authored andcommitted
fix: SQL query column quoting in ChannelStartupService
1 parent 55a2206 commit f31fe50

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
@@ -559,7 +559,7 @@ export class ChannelStartupService {
559559
"Message"."messageTimestamp" DESC
560560
)
561561
SELECT * FROM rankedMessages
562-
ORDER BY updatedAt DESC NULLS LAST;
562+
ORDER BY "updatedAt" DESC NULLS LAST;
563563
`;
564564

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

0 commit comments

Comments
 (0)