fix: sdk usage

This commit is contained in:
Torsten Dittmann
2024-03-08 10:03:27 +01:00
parent 3f1e1838e5
commit bfef635c2b
+2 -2
View File
@@ -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<OrganizationList> {
async listOrganization(queries: string[] = []): Promise<OrganizationList> {
const path = `/organizations`;
const params = {
queries