fix: wrong id

This commit is contained in:
Arman
2023-10-03 10:55:16 +02:00
parent b9bd9df5a1
commit 3e7ee62754
+3 -7
View File
@@ -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',