Skip to content

Commit

Permalink
Update connector_umapi.py
Browse files Browse the repository at this point in the history
fixes #813
  • Loading branch information
Luci2015 authored Oct 9, 2023
1 parent 6b6f654 commit b8d5e58
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions user_sync/connector/connector_umapi.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,7 @@ def get_groups(self):
return list(self.iter_groups())

def iter_groups(self):
self.connection.start_sync()
try:
for g in umapi_client.GroupsQuery(self.connection):
yield g
Expand Down

0 comments on commit b8d5e58

Please sign in to comment.