We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6252e7e commit b7dd314Copy full SHA for b7dd314
1 file changed
apps/backend-convex/functions/messages/query.ts
@@ -17,8 +17,7 @@ export const listByThread = query({
17
18
return await ctx.db
19
.query('messages')
20
- .withIndex('by_thread_and_timestamp', q =>
21
- q.eq('threadId', args.threadId))
+ .withIndex('by_thread_and_timestamp', q => q.eq('threadId', args.threadId))
22
.order('asc')
23
.collect()
24
},
0 commit comments