aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Johannes Christ <[email protected]>2018-11-10 13:48:31 +0100
committerGravatar Johannes Christ <[email protected]>2018-11-10 13:48:31 +0100
commit2fa07bd619040dd7766601b7e4966efb6b2503eb (patch)
tree894a73219659f77a7ddb198396927c781a6db8ac
parentAdd support for adding new tags through the new API. (diff)
Fix a typo.
-rw-r--r--bot/api.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/api.py b/bot/api.py
index 20522d154..04b684b38 100644
--- a/bot/api.py
+++ b/bot/api.py
@@ -29,10 +29,10 @@ class APIClient:
async with self.session.get(self._url_for(endpoint), *args, **kwargs) as resp:
return await resp.json()
- async def post(self, endpoint: str, *args. **kwargs):
+ async def post(self, endpoint: str, *args, **kwargs):
async with self.session.post(self._url_for(endpoint), *args, **kwargs) as resp:
return await resp.json()
- async def delete(self, endpoint: str, *args. **kwargs):
+ async def delete(self, endpoint: str, *args, **kwargs):
async with self.session.delete(self._url_for(endpoint), *args, **kwargs) as resp:
return await resp.json()