Skip to content

Commit

Permalink
fix: update global message id in cursor
Browse files Browse the repository at this point in the history
  • Loading branch information
joshxfi committed Apr 8, 2024
1 parent e9d0905 commit b4ff2fc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export class GlobalMessageResolver {

return {
data: messages,
cursorId: messages[messages.length - 1].userId,
cursorId: messages[messages.length - 1].id,
};
} catch (err) {
console.log(err);
Expand Down

0 comments on commit b4ff2fc

Please sign in to comment.