summaryrefslogtreecommitdiff
path: root/src/home
diff options
context:
space:
mode:
authorEvgeny Zinoviev <me@ch1p.io>2022-11-18 03:46:05 +0300
committerEvgeny Zinoviev <me@ch1p.io>2022-11-18 03:46:05 +0300
commitbbf71ac894b3f155fbc0e74d1d17a121c68e4cc5 (patch)
treea056231ae975a4e86d1e11688ca38ea86dccc3fd /src/home
parent3a500359c7b7e4a50ec97fadbab284177bdaff01 (diff)
web_api: make endpoints naming consistent, use _ instead of -
Diffstat (limited to 'src/home')
-rw-r--r--src/home/api/web_api_client.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/home/api/web_api_client.py b/src/home/api/web_api_client.py
index f359b11..f74b5a1 100644
--- a/src/home/api/web_api_client.py
+++ b/src/home/api/web_api_client.py
@@ -59,7 +59,7 @@ class WebAPIClient:
bot: BotType,
user_id: int,
message: str):
- return self._post('log/bot-request/', {
+ return self._post('log/bot_request/', {
'bot': bot.value,
'user_id': str(user_id),
'message': message