fix(image-analysis): tolerate missing auth init dependency

This commit is contained in:
Tam Nhu Tran committed 2026-04-10 17:21:26 -04:00
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;
}