Skip to content

Commit

Permalink
Fix copy-paste -error
Browse files Browse the repository at this point in the history
  • Loading branch information
rambo committed Sep 6, 2017
1 parent 09eda85 commit 10c9011
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion project/slacksync/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def quick_invite(email):
return False
slack = get_client()
try:
resp = slack.users.admin.invite(member.email)
resp = slack.users.admin.invite(email)
if 'ok' not in resp.body or not resp.body['ok']:
self.logger.error("Could not invite {}, response: {}".format(email, response.body))
return False
Expand Down

0 comments on commit 10c9011

Please sign in to comment.