Skip to content

Commit 91145c0

Browse files
committed
Fixed mypy error
1 parent 57223b7 commit 91145c0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

slowapi/extension.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -735,8 +735,8 @@ async def async_wrapper(*args: Any, **kwargs: Any) -> Response:
735735
if not isinstance(response, Response):
736736
# get the response object from the decorated endpoint function
737737
self._inject_headers(
738-
kwargs.get("response"),
739-
request.state.view_rate_limit, # type: ignore
738+
kwargs.get("response"), # type: ignore
739+
request.state.view_rate_limit,
740740
)
741741
else:
742742
self._inject_headers(

0 commit comments

Comments
 (0)