Skip to content

Commit

Permalink
Fixed org middleware behaviour for whitelisted paths
Browse files Browse the repository at this point in the history
  • Loading branch information
chandrasekharan-zipstack committed Jan 27, 2025
1 parent a5734ff commit c697f51
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion backend/middleware/organization_middleware.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ def process_request(self, request):
re.match(path, request.path)
for path in settings.ORGANIZATION_MIDDLEWARE_WHITELISTED_PATHS
):
request.path_info = "/" + request.path_info
return

org_id = match.group("org_id")
Expand Down

0 comments on commit c697f51

Please sign in to comment.