mirror of
https://github.com/OpenHands/OpenHands.git
synced 2026-03-22 13:47:19 +08:00
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:
@@ -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):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user