diff --git a/src/routes/(console)/organization-[organization]/+page.svelte b/src/routes/(console)/organization-[organization]/+page.svelte index 1e678f51c..f7e391c74 100644 --- a/src/routes/(console)/organization-[organization]/+page.svelte +++ b/src/routes/(console)/organization-[organization]/+page.svelte @@ -107,7 +107,7 @@ ID.unique(), `Imported project ${new Date().toISOString()}`, $page.params.organization, - Region.Default + Region.Fra // default ); trackEvent(Submit.ProjectCreate, { teamId: $page.params.organization diff --git a/src/routes/(console)/organization-[organization]/createProject.svelte b/src/routes/(console)/organization-[organization]/createProject.svelte index 363ba9917..1f6ba1917 100644 --- a/src/routes/(console)/organization-[organization]/createProject.svelte +++ b/src/routes/(console)/organization-[organization]/createProject.svelte @@ -7,7 +7,7 @@ import { InputText, Button, FormList } from '$lib/elements/forms'; import { addNotification } from '$lib/stores/notifications'; import { sdk } from '$lib/stores/sdk'; - import { ID, Region } from '@appwrite.io/console'; + import { ID } from '@appwrite.io/console'; import { createEventDispatcher } from 'svelte'; export let show = false; @@ -24,12 +24,7 @@ async function create() { try { disabled = true; - const project = await sdk.forConsole.projects.create( - id ?? ID.unique(), - name, - teamId, - Region.Default - ); + const project = await sdk.forConsole.projects.create(id ?? ID.unique(), name, teamId); show = false; dispatch('created', project); trackEvent(Submit.ProjectCreate, {