aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTrygve Aaberge <trygveaa@gmail.com>2022-10-22 20:33:28 +0200
committerTrygve Aaberge <trygveaa@gmail.com>2024-02-18 11:32:52 +0100
commit8bb9650e004d081aef117adb3bf9d8f249637ab2 (patch)
tree964886dc800e3189ebce4c0595f8d78b27ff8a2f
parent2e4e3c404685b93c14cbc27a892af0f63c6d1aa1 (diff)
downloadwee-slack-8bb9650e004d081aef117adb3bf9d8f249637ab2.tar.gz
Change slack_timeout to be in seconds
-rw-r--r--slack.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/slack.py b/slack.py
index b8f7374..b8c79f2 100644
--- a/slack.py
+++ b/slack.py
@@ -528,7 +528,7 @@ class SlackApi:
response = await http_request(
url,
self.get_request_options(),
- self.team.config.slack_timeout.value,
+ self.team.config.slack_timeout.value * 1000,
)
return json.loads(response)