Use user_id as token set indicator for settings (#6595)

Co-authored-by: Engel Nyst <enyst@users.noreply.github.com>
This commit is contained in:
Rohit Malhotra
2025-02-03 20:36:47 -05:00
committed by GitHub
parent f24fbec165
commit 7151f75340
2 changed files with 5 additions and 6 deletions

View File

@@ -9,10 +9,10 @@ from openhands.server.types import AppMode, GhAuthenticationError, GHUnknownExce
class GitHubService:
BASE_URL = 'https://api.github.com'
token: str = ''
def __init__(self, user_id: str | None):
self.user_id = user_id
self.token = ''
async def _get_github_headers(self):
"""