Skip to content

Commit 2ca4490

Browse files
committed
prettier
1 parent 08727b8 commit 2ca4490

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/customers.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ export async function listCustomersByName(vendorPortalApi: VendorPortalApi, appS
165165

166166
// Use the searchTeamCustomers endpoint to search for customers by name and app
167167
const searchCustomersUri = `${vendorPortalApi.endpoint}/customers/search`;
168-
168+
169169
let allCustomers: CustomerSummary[] = [];
170170
let offset = 0; // offset is the number of pages to skip
171171
const pageSize = 100;
@@ -213,7 +213,7 @@ export async function listCustomersByName(vendorPortalApi: VendorPortalApi, appS
213213
const totalCount = searchCustomersBody.total_count || 0;
214214
const currentPageSize = searchCustomersBody.data ? searchCustomersBody.data.length : 0;
215215
const totalPages = Math.ceil(totalCount / pageSize);
216-
hasMorePages = currentPageSize > 0 && (offset + 1) < totalPages;
216+
hasMorePages = currentPageSize > 0 && offset + 1 < totalPages;
217217
offset++; // Increment offset by 1 (one more page to skip)
218218
}
219219

0 commit comments

Comments
 (0)