Rank 1: Thread
Due to stupid (but unchangeable) requirements it is necessary that a user is in more than 1000 teams. In this particular case there are about 1300 teams. If I want to get all memberships of the user I only get 1000 back. Unfortunately, unlike other functions, I cannot pass queries to increase the limit. How can I get all memberships of the user?
` const { total, memberships } = await users.listMemberships("66a739de0022f7ecbf15");
console.log(total, memberships.length);`
1000 1000