This commit is contained in:
Arslan Sakhapov 2019-07-14 03:11:41 +05:00 committed by GitHub
parent 54e3cf4bf7
commit a0ad19888e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)