Skip to content

fix: Fix workspace count to exclude deleted workspaces #2916

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

Merged
merged 3 commits into from
Jul 12, 2022

Conversation

Emyrk
Copy link
Member

@Emyrk Emyrk commented Jul 11, 2022

  • Fake database was also not counting correctly. It only counted the first user, then a break stopped further counting

Fixes: #1830

- Fake database was also not counting correctly
Copy link
Contributor

@AbhineetJain AbhineetJain left a comment

Choose a reason for hiding this comment

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

LG! 🙌

Copy link
Member

@johnstcn johnstcn left a comment

Choose a reason for hiding this comment

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

Nice unit test!

@Emyrk Emyrk merged commit c07a45e into main Jul 12, 2022
@Emyrk Emyrk deleted the stevenmasley/template_dev_count branch July 12, 2022 17:52
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.

Templates USED BY count is calculated not properly in some cases
3 participants