Skip to content

Commit

Permalink
Merge pull request #35 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 9b79daf + 3d77be8 commit d27fe1b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/spaceone/secret/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, domain_id):
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 d27fe1b

Please sign in to comment.