Skip to content

Commit

Permalink
fix function call arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuadavidthomas committed May 12, 2023
1 parent 3f014f8 commit b27d3c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/django_flyio/middleware.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def __call__(self, request: HttpRequest) -> HttpResponseBase | Awaitable[HttpRes
return self.__acall__(request)
response = self.get_response(request)
assert isinstance(response, HttpResponseBase) # noqa: S101
self.add_response_headers(request, response)
self.add_response_headers(response)
return response

async def __acall__(self, request: HttpRequest) -> HttpResponseBase:
Expand Down

0 comments on commit b27d3c9

Please sign in to comment.