mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
fix: wrong id
This commit is contained in:
@@ -362,17 +362,13 @@ export class Billing {
|
||||
);
|
||||
}
|
||||
|
||||
async listInvoices(
|
||||
organizationId: string,
|
||||
queries: Query[] = [],
|
||||
search = ''
|
||||
): Promise<InvoiceList> {
|
||||
async listInvoices(organizationId: string, queries: Query[] = []): Promise<InvoiceList> {
|
||||
const path = `/organizations/${organizationId}/invoices`;
|
||||
const params = {
|
||||
organizationId,
|
||||
queries,
|
||||
search
|
||||
queries
|
||||
};
|
||||
|
||||
const uri = new URL(this.client.config.endpoint + path);
|
||||
return await this.client.call(
|
||||
'get',
|
||||
|
||||
Reference in New Issue
Block a user