fix: fixed middleware setting up
This commit is contained in:
parent
13ff8d0478
commit
0efeb68422
|
@ -4,4 +4,4 @@ from .throttling import ThrottlingMiddleware
|
||||||
|
|
||||||
|
|
||||||
def setup(dp: Dispatcher):
|
def setup(dp: Dispatcher):
|
||||||
dp.middleware.setup(ThrottlingMiddleware)
|
dp.middleware.setup(ThrottlingMiddleware())
|
||||||
|
|
Loading…
Reference in New Issue
Block a user