aboutsummaryrefslogtreecommitdiffstats
path: root/slack/slack_api.py
diff options
context:
space:
mode:
Diffstat (limited to 'slack/slack_api.py')
-rw-r--r--slack/slack_api.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/slack/slack_api.py b/slack/slack_api.py
index 3bd75c4..ef15d81 100644
--- a/slack/slack_api.py
+++ b/slack/slack_api.py
@@ -26,7 +26,7 @@ class SlackApi:
return {
"useragent": f"wee_slack {shared.SCRIPT_VERSION}",
"httpheader": f"Authorization: Bearer {self.workspace.config.api_token.value}",
- "cookie": self.workspace.config.api_cookies.value,
+ "cookie": self.workspace.config.api_cookies.value, # TODO: url_encode_if_not_encoded
}
async def _fetch(self, method: str, params: Dict[str, Union[str, int]] = {}):