More Fixes

This commit is contained in:
Bradley Schofield
2023-08-17 23:49:47 +01:00
parent 8e8cb5d988
commit 423df5e2d7
2 changed files with 1 additions and 2 deletions
@@ -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;
@@ -110,7 +110,6 @@
id="endpoint"
placeholder="https://[YOUR_APPWRITE_HOSTNAME]"
autofocus
value="http://localhost:3000/"
on:input={(e) => {
if (!submitted) return;
const input = e.target;