Skip to content

Commit b7dd314

Browse files
committed
refactor: minor
1 parent 6252e7e commit b7dd314

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

  • apps/backend-convex/functions/messages

apps/backend-convex/functions/messages/query.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@ export const listByThread = query({
1717

1818
return await ctx.db
1919
.query('messages')
20-
.withIndex('by_thread_and_timestamp', q =>
21-
q.eq('threadId', args.threadId))
20+
.withIndex('by_thread_and_timestamp', q => q.eq('threadId', args.threadId))
2221
.order('asc')
2322
.collect()
2423
},

0 commit comments

Comments
 (0)