update magic URL goto

This commit is contained in:
Ben McCann committed 2024-01-22 08:30:16 -08:00
1 parent 4213a1c9f7
commit bfa84bb899
1 file changed
+1 -1
+1 -1
View File
@@ -18,7 +18,7 @@
const secret = $page.url.searchParams.get('secret');
await account.updateMagicURLSession(userId, secret);
await goto(`appwrite-callback-${projectId}://${$page.url.search}`);
window.location = `appwrite-callback-${projectId}://${$page.url.search}`;
});
</script>