Skip to content

Commit

Permalink
Merge pull request #24 from tzumainn/token-fix
Browse files Browse the repository at this point in the history
Fixed token to be request.user.token.id
  • Loading branch information
sheldor1510 committed Sep 14, 2024
2 parents d732617 + 3bf465c commit d831fec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion esi_ui/api/esi_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def get_session_from_request(request):
region = config.get_cloud_region(load_yaml_config=False,
load_envvars=False,
auth_type='token',
token=token,
token=request.user.token.id,
auth_url=auth_url)
user_session = region.get_session()
if not user_session.auth.get_access(user_session).project_scoped:
Expand Down

0 comments on commit d831fec

Please sign in to comment.