Skip to content

Commit

Permalink
rename
Browse files Browse the repository at this point in the history
  • Loading branch information
VishnuSanal committed Oct 22, 2024
1 parent 2b1b5b2 commit f82baff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions robyn/processpool.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,8 @@ def spawn_process(
server.apply_response_headers(response_headers)

for route in routes:
middleware_type, endpoint, function, is_const = route
server.add_route(middleware_type, endpoint, function, is_const)
route_type, endpoint, function, is_const = route
server.add_route(route_type, endpoint, function, is_const)

for middleware_type, middleware_function in global_middlewares:
server.add_global_middleware(middleware_type, middleware_function)
Expand Down

0 comments on commit f82baff

Please sign in to comment.