Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PB-3262]: fix/correctly calculate available space in workspace when accepting an invite #425

Merged

Conversation

jzunigax2
Copy link
Contributor

I was incorrectly calculating the available space in a workspace as ownerAvailableSpace - spaceAssignedInInvites this caused a scenario where the last user to accept an invite would be unable to join as the space assigned in their own invitation was being counted as unassignable space. Now when accepting an invite the assignable space is taken as simply the owner's available space

@jzunigax2 jzunigax2 added bug Something isn't working workspaces labels Nov 6, 2024
@jzunigax2 jzunigax2 self-assigned this Nov 6, 2024
@jzunigax2 jzunigax2 requested a review from apsantiso as a code owner November 6, 2024 17:18
Copy link

sonarqubecloud bot commented Nov 6, 2024

@jzunigax2 jzunigax2 merged commit 5c3252c into master Nov 6, 2024
10 checks passed
@jzunigax2 jzunigax2 deleted the fix/accept-invite-incorrect-freespace-calculation branch November 6, 2024 19:26
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.

2 participants