mirror of
https://github.com/tiennm99/ccs.git
synced 2026-10-14 10:18:14 +00:00
fix(image-analysis): tolerate missing auth init dependency
This commit is contained in:
1 parent
270810c06e
commit
2f02ddfb74
3 files changed
+23
-1
No files matched your search
@@ -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