Repository navigation
Commit 8975cb2
fix: apply 25 result limit after combining multi-region organizations
In multi-region SaaS, listOrganizations was fetching 25 results per region
and concatenating them, which could return more than 25 total organizations.
This broke the limit detection logic in find_organizations tool.
Now applies slice(0, 25) after concatenating all regional results to ensure
exactly 25 organizations are returned maximum.
Co-Authored-By: Claude Code <noreply@anthropic.com>1 parent 7d42708 commit 8975cb2
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
842 | 842 | | |
843 | 843 | | |
844 | 844 | | |
845 | | - | |
| 845 | + | |
846 | 846 | | |
847 | 847 | | |
848 | 848 | | |
| |||
854 | 854 | | |
855 | 855 | | |
856 | 856 | | |
| 857 | + | |
| 858 | + | |
| 859 | + | |
857 | 860 | | |
858 | 861 | | |
859 | 862 | | |
| |||
0 commit comments