From fb9ef29806526babebc6556ecdfc7dd9b3649029 Mon Sep 17 00:00:00 2001 From: Torsten Dittmann Date: Wed, 28 May 2025 01:56:08 +0200 Subject: [PATCH 1/2] Add null safety to regionsStore access --- src/routes/(console)/onboarding/create-project/+page.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/(console)/onboarding/create-project/+page.svelte b/src/routes/(console)/onboarding/create-project/+page.svelte index 60a95351f3..9925429e6c 100644 --- a/src/routes/(console)/onboarding/create-project/+page.svelte +++ b/src/routes/(console)/onboarding/create-project/+page.svelte @@ -79,7 +79,7 @@ alt="Appwrite Logo" /> Date: Wed, 28 May 2025 02:02:00 +0200 Subject: [PATCH 2/2] Fix invoice URL to use API endpoint instead of base path --- .../billing/paymentHistory.svelte | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/routes/(console)/organization-[organization]/billing/paymentHistory.svelte b/src/routes/(console)/organization-[organization]/billing/paymentHistory.svelte index 969a8a8765..7946551848 100644 --- a/src/routes/(console)/organization-[organization]/billing/paymentHistory.svelte +++ b/src/routes/(console)/organization-[organization]/billing/paymentHistory.svelte @@ -5,7 +5,7 @@ import { toLocaleDate } from '$lib/helpers/date'; import { formatCurrency } from '$lib/helpers/numbers'; import type { Invoice, InvoiceList } from '$lib/sdk/billing'; - import { sdk } from '$lib/stores/sdk'; + import { getApiEndpoint, sdk } from '$lib/stores/sdk'; import { Query } from '@appwrite.io/console'; import { onMount } from 'svelte'; import { trackEvent } from '$lib/actions/analytics'; @@ -134,12 +134,12 @@ + href={`${getApiEndpoint()}/organizations/${page.params.organization}/invoices/${invoice.$id}/view`}> View invoice + href={`${getApiEndpoint()}/organizations/${page.params.organization}/invoices/${invoice.$id}/download`}> Download PDF {#if status === 'overdue' || status === 'failed'}