mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-08 17:13:56 +00:00
Fix typo
This commit is contained in:
parent
54e3cf4bf7
commit
a0ad19888e
1 changed files with 1 additions and 1 deletions
|
|
@ -261,7 +261,7 @@ class WebhookRequestHandler(web.View):
|
|||
if self.request.app.get('_check_ip', False):
|
||||
ip_address, accept = self.check_ip()
|
||||
if not accept:
|
||||
log.warning(f"Blocking request from a unauthorized IP: {ip_address}")
|
||||
log.warning(f"Blocking request from an unauthorized IP: {ip_address}")
|
||||
raise web.HTTPUnauthorized()
|
||||
|
||||
# context.set_value('TELEGRAM_IP', ip_address)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue