Skip to content

Commit

Permalink
Update __init__.py
Browse files Browse the repository at this point in the history
follow upstream
  • Loading branch information
colinsl authored Apr 5, 2024
1 parent 37dd862 commit 77e820c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion omnibot/services/slack/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,7 @@ def get_auth(bot):
return json.loads(auth_info)
auth_info = client(bot).api_call("auth.test")
if auth_info["ok"]:
redis_client.hset(f"auth:{bot.team.name}", bot.id, json.dumps(auth_info))
redis_client.hset(f"auth:{bot.team.name}", bot.name, json.dumps(auth_info))
return auth_info
else:
logger.warning(
Expand Down

0 comments on commit 77e820c

Please sign in to comment.