Fix firebase 404 errors

This commit is contained in:
Matej Bačo committed 2023-08-10 03:00:54 +02:00
1 parent 55ac069437
commit b159a4a742
1 file changed
+1 -1
@@ -6,7 +6,7 @@ async function getFirebaseProjects() {
const res = await sdk.forProject.migrations.listFirebaseProjects();
return res.projects;
} catch (e) {
if (e.code === 401) {
if (e.type === 'user_identity_not_found') {
return [];
} else {
throw e;