π OpenHands: AI-Driven Development
Fix Github Enterprise GraphQL URL (#7939)
Tom Deckersae4374405260
diff --git a/openhands/resolver/interfaces/github.py b/openhands/resolver/interfaces/github.pyindex 1c112f7eb4..c213648029 100644--- a/openhands/resolver/interfaces/github.py+++ b/openhands/resolver/interfaces/github.py@@ -75,7 +75,7 @@ class GithubIssueHandler(IssueHandlerInterface):if self.base_domain == 'github.com':return 'https://api.github.com/graphql'else:- return f'https://{self.base_domain}/api/v3/graphql'+ return f'https://{self.base_domain}/api/graphql'def get_compare_url(self, branch_name: str) -> str:return f'https://{self.base_domain}/{self.owner}/{self.repo}/compare/{branch_name}?expand=1'