Skip to content

Commit

Permalink
adjust bad key
Browse files Browse the repository at this point in the history
  • Loading branch information
colinsl committed Apr 5, 2024
1 parent e78bcc1 commit 5535fd3
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 @@ -477,7 +477,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 5535fd3

Please sign in to comment.