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 Jan 31, 2019
1 parent 3c70011 commit 55caacd
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 55caacd

Please sign in to comment.