aboutsummaryrefslogtreecommitdiffstats
path: root/wee_slack.py
diff options
context:
space:
mode:
authorTrygve Aaberge <trygveaa@gmail.com>2022-09-17 17:34:47 +0200
committerTrygve Aaberge <trygveaa@gmail.com>2022-09-17 17:45:41 +0200
commita68ccea21d8ab607916cf3d63f32e3fd34d2fecb (patch)
tree92a3b33c56a557b664891379b01f0e171e0a52b5 /wee_slack.py
parent0e38b1dd6ac54a29db7ac32decf5e706f053cf25 (diff)
downloadwee-slack-a68ccea21d8ab607916cf3d63f32e3fd34d2fecb.tar.gz
Use correct parameter name for info request
Diffstat (limited to 'wee_slack.py')
-rw-r--r--wee_slack.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wee_slack.py b/wee_slack.py
index 0dc8c72..14feb38 100644
--- a/wee_slack.py
+++ b/wee_slack.py
@@ -2827,7 +2827,7 @@ class SlackDMChannel(SlackChannel):
info_method = self.team.slack_api_translator[self.type].get("info")
if info_method:
s = SlackRequest(
- self.team, info_method, {"name": self.identifier}, channel=self
+ self.team, info_method, {"channel": self.identifier}, channel=self
)
self.eventrouter.receive(s)
if update_remote: