mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-23 00:00:33 +00:00
fix: fix token creation after mcp mode change to make it non workspace specific
This commit is contained in:
@@ -75,7 +75,7 @@
|
||||
label: newTokenLabel,
|
||||
expiration: date?.toISOString(),
|
||||
scopes: tokenScopes,
|
||||
workspace_id: newTokenWorkspace || $workspaceStore
|
||||
workspace_id: mcpMode ? (newTokenWorkspace || $workspaceStore) : undefined
|
||||
} as NewToken
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user