Skip to content

Commit

Permalink
Merge pull request #49 from whdalsrnt/master
Browse files Browse the repository at this point in the history
fix: change wrong system token
  • Loading branch information
whdalsrnt authored Jan 6, 2024
2 parents 0a7acca + 33b13ba commit 1a82bc7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/spaceone/dashboard/manager/identity_manager.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from spaceone.core import config
from spaceone.core.manager import BaseManager
from spaceone.core.connector.space_connector import SpaceConnector

Expand All @@ -10,7 +11,7 @@ def __init__(self, *args, **kwargs):
)

def check_workspace(self, workspace_id: str, domain_id: str) -> None:
system_token = self.transaction.get_meta("token")
system_token = config.get_global("TOKEN")
return self.identity_conn.dispatch(
"Workspace.check",
{"workspace_id": workspace_id, "domain_id": domain_id},
Expand Down

0 comments on commit 1a82bc7

Please sign in to comment.