Skip to content

chore(clerk-js): Exclude _clerk_session_id query param from /waitlist endpoint - #4594

Merged
nikospapcom merged 1 commit into
mainfrom
nikospap/user-1052-allow-new-waitlist-entries-when-having-active-session
Nov 18, 2024
Merged

chore(clerk-js): Exclude _clerk_session_id query param from /waitlist endpoint#4594
nikospapcom merged 1 commit into
mainfrom
nikospap/user-1052-allow-new-waitlist-entries-when-having-active-session

Conversation

@nikospapcom

@nikospapcom nikospapcom commented Nov 18, 2024

Copy link
Copy Markdown
Contributor

Description

We decided to render the <Waitlist /> when a user is logged in but in this case we're sending the _clerk_session_id query params which is not accepted from this fapi endpoint. This pr fixes this by excluding _clerk_session_id query param from /waitlist endpoint

Checklist

  • pnpm test runs as expected.
  • pnpm build runs as expected.
  • (If applicable) JSDoc comments have been added or updated for any package exports
  • (If applicable) Documentation has been updated

Type of change

  • 🐛 Bug fix
  • 🌟 New feature
  • 🔨 Breaking change
  • 📖 Refactoring / dependency upgrade / documentation
  • other:

@nikospapcom nikospapcom self-assigned this Nov 18, 2024
@changeset-bot

changeset-bot Bot commented Nov 18, 2024

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: d97adc0

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 3 packages
Name Type
@clerk/clerk-js Patch
@clerk/chrome-extension Patch
@clerk/clerk-expo Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@nikospapcom
nikospapcom force-pushed the nikospap/user-1052-allow-new-waitlist-entries-when-having-active-session branch from 4ae39d3 to 3d81fd9 Compare November 18, 2024 12:58
@nikospapcom nikospapcom changed the title chore: Exclude _clerk_session_id query param from /waitlist endpoint chore(clerk-js): Exclude _clerk_session_id query param from /waitlist endpoint Nov 18, 2024
@nikospapcom nikospapcom changed the title chore(clerk-js): Exclude _clerk_session_id query param from /waitlist endpoint chore(clerk-js): Exclude _clerk_session_id query param from /waitlist endpoint Nov 18, 2024
@nikospapcom
nikospapcom marked this pull request as ready for review November 18, 2024 13:15
@nikospapcom
nikospapcom marked this pull request as draft November 18, 2024 13:21
@nikospapcom
nikospapcom force-pushed the nikospap/user-1052-allow-new-waitlist-entries-when-having-active-session branch from 3d81fd9 to 6310be9 Compare November 18, 2024 13:24
Comment thread packages/clerk-js/src/core/fapiClient.ts Outdated
@nikospapcom
nikospapcom force-pushed the nikospap/user-1052-allow-new-waitlist-entries-when-having-active-session branch from 6310be9 to d97adc0 Compare November 18, 2024 13:31
@nikospapcom
nikospapcom marked this pull request as ready for review November 18, 2024 13:42
@nikospapcom
nikospapcom merged commit aba63de into main Nov 18, 2024
@nikospapcom
nikospapcom deleted the nikospap/user-1052-allow-new-waitlist-entries-when-having-active-session branch November 18, 2024 16:48
wobsoriano pushed a commit that referenced this pull request Feb 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants