Created
April 5, 2026 12:56
-
-
Save FradSer/3e9b9df6fa4ac7b12b40a84eac24e515 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const orgId = document.cookie.match(/(?:^|;\s*)lastActiveOrg=([^;]+)/)?.[1]; | |
| if (orgId) { | |
| fetch(`https://claude.ai/api/organizations/${orgId}/overage_credit_grant`, { | |
| method: 'POST', | |
| headers: { 'Content-Type': 'application/json' }, | |
| body: '{}' | |
| }) | |
| .then(res => res.json()) | |
| .then(console.log); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment