Permalink
Browse files

Merge pull request #51 from PaulBrandt/master

Make the shown name the real display name
  • Loading branch information...
aoberoi committed Jul 25, 2018
2 parents 23d92ec + 7633a6e commit 2622bf96f5dee1b65cfab121a5c8b4e9af26e2be
Showing with 1 addition and 1 deletion.
  1. +1 −1 slack/models.py
View
@@ -85,7 +85,7 @@ def find_user_info(self, user_id):
response = requests.get(url)
user = response.json()["user"]
username = user["name"]
username = user["profile"]["display_name"]
icon_url = user["profile"]["image_48"]
return {"username": username, "icon_url": icon_url}

0 comments on commit 2622bf9

Please sign in to comment.