Reduce account overfetching when displaying collection lists (#39220)

This commit is contained in:
diondiondion authored and GitHub committed 2026-05-29 15:27:57 +00:00
1 parent 8e15e49e87
commit 0caf334891
6 files changed
+48 -5

No files matched your search

+1 -1
View File
@@ -15,7 +15,7 @@ export const apiUpdate = (list: Partial<ApiListJSON>) =>
export const apiGetLists = () => apiRequestGet<ApiListJSON[]>('v1/lists');
export const apiGetAccounts = (listId: string) =>
export const apiGetListAccounts = (listId: string) =>
apiRequestGet<ApiAccountJSON[]>(`v1/lists/${listId}/accounts`, {
limit: 0,
});