Skip to content

fix: improve slug filtering to prevent same slug with diff case#13074

Merged
PeerRich merged 2 commits into
calcom:mainfrom
riddhesh-mahajan:issue-5-1
Jan 16, 2024
Merged

fix: improve slug filtering to prevent same slug with diff case#13074
PeerRich merged 2 commits into
calcom:mainfrom
riddhesh-mahajan:issue-5-1

Conversation

@riddhesh-mahajan
Copy link
Copy Markdown
Contributor

@riddhesh-mahajan riddhesh-mahajan commented Jan 7, 2024

What does this PR do?

This PR adds insensitive match for team slug for better slug availability logic.

Fixes #13073

Type of change

  • Bug fix (non-breaking change which fixes an issue)

How should this be tested?

Create 2 teams using api call. Both must have same slug with different case.

@vercel
Copy link
Copy Markdown

vercel Bot commented Jan 7, 2024

@riddhesh-mahajan is attempting to deploy a commit to the cal Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jan 7, 2024

Thank you for following the naming conventions! 🙏 Feel free to join our discord and post your PR link.

@riddhesh-mahajan riddhesh-mahajan changed the title improve slug filtering to prevent same slug with diff case fix: improve slug filtering to prevent same slug with diff case Jan 7, 2024
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jan 7, 2024

📦 Next.js Bundle Analysis for @calcom/web

This analysis was generated by the Next.js Bundle Analysis action. 🤖

This PR introduced no changes to the JavaScript bundle! 🙌

@PeerRich PeerRich added Medium priority Created by Linear-GitHub Sync api area: API, enterprise API, access token, OAuth labels Jan 7, 2024
@keithwillcode keithwillcode added the community Created by Linear-GitHub Sync label Jan 11, 2024
Copy link
Copy Markdown
Member

@alishaz-polymath alishaz-polymath left a comment

Choose a reason for hiding this comment

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

Thank you for the contribution! 🙌

@PeerRich PeerRich merged commit 8bb051a into calcom:main Jan 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api area: API, enterprise API, access token, OAuth community Created by Linear-GitHub Sync Medium priority Created by Linear-GitHub Sync

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Create team api is accepting invalid slug

4 participants