Skip to content

Commit d569905

Browse files
committed
Fix autoremove in wrong place
1 parent 65a6496 commit d569905

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

project/slacksync/management/commands/sync_slack_users.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ def handle(self, *args, **options):
1818
autoremove = False
1919
if options['autodeactivate']:
2020
autoremove = True
21-
sync = SlackMemberSync(autoremove)
22-
tbd = sync.sync_members()
21+
sync = SlackMemberSync()
22+
tbd = sync.sync_members(autoremove)
2323
if options['verbosity'] > 1:
2424
for dm in tbd:
2525
if autoremove:

0 commit comments

Comments
 (0)