Skip to content

Commit

Permalink
fixup! fixup! shopfloor_base: get rid of static controller
Browse files Browse the repository at this point in the history
  • Loading branch information
simahawk authored and sebalix committed Mar 23, 2022
1 parent 0d788de commit 4720f13
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion shopfloor_base/models/shopfloor_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,9 @@ def _generate_endpoints_routes(self, service, rest_endpoint_handler, vals):

def _prepare_endpoint_vals(self, service, method_name, route, routing_params):
request_method = routing_params["methods"][0]
name = f"{self.tech_name}::{service._name}/{method_name}__{request_method.lower()}"
name = (
f"{self.tech_name}::{service._name}/{method_name}__{request_method.lower()}"
)
endpoint_vals = dict(
name=name,
request_method=request_method,
Expand Down

0 comments on commit 4720f13

Please sign in to comment.