mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
parent
d646e19852
commit
5bcbcedeba
1 changed files with 1 additions and 1 deletions
|
|
@ -145,7 +145,7 @@ class WebhookRequestHandler(web.View):
|
|||
web_response = web.Response(text='ok')
|
||||
|
||||
if self.request.app.get('RETRY_AFTER', None):
|
||||
web_response.headers['Retry-After'] = self.request.app['RETRY_AFTER']
|
||||
web_response.headers['Retry-After'] = str(self.request.app['RETRY_AFTER'])
|
||||
|
||||
return web_response
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue