Skip to content

Filter out repeat sessions#7829

Merged
joshspicer merged 1 commit intomainfrom
joshspicer/filter
Sep 22, 2025
Merged

Filter out repeat sessions#7829
joshspicer merged 1 commit intomainfrom
joshspicer/filter

Conversation

@joshspicer
Copy link
Copy Markdown
Member

Before:
Screenshot 2025-09-22 at 9 39 19 AM

After:
image

Capi seems to now return >1 copy of a session.
image

const sortedSessions = sessions.slice().sort((a, b) =>
new Date(a.created_at).getTime() - new Date(b.created_at).getTime()
);
const sortedSessions = sessions
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like we don't need to do this anymore, would be good to verify

@joshspicer joshspicer merged commit cc20843 into main Sep 22, 2025
6 checks passed
@joshspicer joshspicer deleted the joshspicer/filter branch September 22, 2025 20:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants