Skip to content

Commit 77a4e0c

Browse files
committed
2 parents 632fcfd + d9e399c commit 77a4e0c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

membersuite_api_client/memberships/services.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ def get_all_memberships(self, since_when=None, results=None,
9090

9191
# Check if the queryset was completely full. If so, there may be
9292
# More results we need to query
93-
if len(new_results) >= limit_to and depth < max_depth:
93+
if len(new_results) >= limit_to and not depth == max_depth:
9494
new_results = self.get_all_memberships(
9595
since_when=since_when,
9696
results=new_results,

0 commit comments

Comments
 (0)