mirror of
https://github.com/siteboon/claudecodeui.git
synced 2026-06-28 07:15:35 +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) {
|
async function getEnvironmentAuthToken(environmentUrl) {
|
||||||
return desktopWindow?.readAuthTokenForTarget(environmentUrl) || null;
|
return (await desktopWindow?.readAuthTokenForTarget(environmentUrl)) || null;
|
||||||
}
|
}
|
||||||
|
|
||||||
async function clearCloudAccount() {
|
async function clearCloudAccount() {
|
||||||
|
|||||||
Reference in New Issue
Block a user