mirror of
https://github.com/tiennm99/ccs.git
synced 2026-09-05 14:22:12 +00:00
fix(image-analysis): tolerate missing auth init dependency
This commit is contained in:
@@ -64,7 +64,9 @@ async function resolveAuthReadiness(
|
||||
(entry) => entry.provider === authProvider && entry.authenticated
|
||||
);
|
||||
} else {
|
||||
deps.initializeAccounts();
|
||||
if (typeof deps.initializeAccounts === 'function') {
|
||||
deps.initializeAccounts();
|
||||
}
|
||||
authenticated = deps.getAuthStatus(authProvider).authenticated;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user