Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sansyrox committed Nov 13, 2023
1 parent 4d59dc3 commit 8ac0ea6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion robyn/router.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,8 @@ def inner_handler(request: Request, *args):
if identity is None:
return self.authentication_handler.unauthorized_response
request.identity = identity
return handler(request, *args)

return request

self.add_route(MiddlewareType.BEFORE_REQUEST, endpoint, inner_handler, injected_dependencies)
return inner_handler
Expand Down

0 comments on commit 8ac0ea6

Please sign in to comment.