diff --git a/tasks/sync_teams.py b/tasks/sync_teams.py index 1f0e42016..cab7a5f50 100644 --- a/tasks/sync_teams.py +++ b/tasks/sync_teams.py @@ -59,6 +59,9 @@ def run_impl(self, db_session, ownerid, *, username=None, **kwargs): ), ) + # remove user from the org's plan_activated_users + + owner.updatestamp = datetime.now() owner.organizations = team_ids