middleware
middleware copied to clipboard
Resolved multi team similar repo issue
Linked Issue(s)
If team has a repo, then same repo added to another team is not visible.
Also the method getSelectedReposForOrg is returning deleted teams repo, unnecessarily increasing response size.
Acceptance Criteria fulfillment
- [x] Same repo now visible in all teams it is added to
- [x] Mark teamRepos inactive if team is deleted
- [x] Removed unnecessary code
Proposed changes (including videos or screenshots)
The db query now directly returns Team repos with multiple workflows.