From bfef635c2bee9512b4ef2ef0f54a3a8f687f16f0 Mon Sep 17 00:00:00 2001 From: Torsten Dittmann Date: Fri, 8 Mar 2024 10:03:27 +0100 Subject: [PATCH] fix: sdk usage --- src/lib/sdk/billing.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/sdk/billing.ts b/src/lib/sdk/billing.ts index 69599bd36..f21ea5ec6 100644 --- a/src/lib/sdk/billing.ts +++ b/src/lib/sdk/billing.ts @@ -1,4 +1,4 @@ -import type { Client, Models, Query } from '@appwrite.io/console'; +import type { Client, Models } from '@appwrite.io/console'; import type { Organization, OrganizationList } from '../stores/organization'; import type { PaymentMethod } from '@stripe/stripe-js'; import type { Tier } from '$lib/stores/billing'; @@ -274,7 +274,7 @@ export class Billing { this.client = client; } - async listOrganization(queries: Query[] = []): Promise { + async listOrganization(queries: string[] = []): Promise { const path = `/organizations`; const params = { queries