mirror of
https://github.com/siteboon/claudecodeui.git
synced 2026-06-27 06:05:54 +08:00
fix: await desktop auth token lookup
This commit is contained in:
@@ -771,7 +771,7 @@ async function openNotificationTarget({ environmentUrl, sessionId = null }) {
|
||||
}
|
||||
|
||||
async function getEnvironmentAuthToken(environmentUrl) {
|
||||
return desktopWindow?.readAuthTokenForTarget(environmentUrl) || null;
|
||||
return (await desktopWindow?.readAuthTokenForTarget(environmentUrl)) || null;
|
||||
}
|
||||
|
||||
async function clearCloudAccount() {
|
||||
|
||||
Reference in New Issue
Block a user