Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(organization)!: simplify organization detection for retrieving u…
…sage metrics (#5332) ### 📣 Summary Simplified the logic for detecting the organization when retrieving project usage, storage, and NLP minutes. Improved code readability and maintainability. ### 📖 Description This PR refactors the organization detection logic used to retrieve metrics such as project usage, storage, and NLP minutes. The simplified makes the code easier to read and maintain. The detection is now based on whether the organization is a Multi-Member Organization (MMO). Additionally, it assumes that all projects belong directly to the organization rather than its individual members.
- Loading branch information