Commit bfa4dc88187f53ade643f745a8de05640c410838

Thomas de Grivel 2024-10-31T19:22:01

minor tweak

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff --git a/lib/kc3/0.1/httpd.kc3 b/lib/kc3/0.1/httpd.kc3
index 4c7b78a..839985d 100644
--- a/lib/kc3/0.1/httpd.kc3
+++ b/lib/kc3/0.1/httpd.kc3
@@ -236,9 +236,7 @@ defmodule HTTPd do
     }
     (request, [route | next_routes]) {
       if ((controller = HTTPd.Route.match(route, request)) &&
-          (response = let(request.params, do
-             controller(request)
-           end)))
+          (response = let(request.params, controller(request))))
         response
       else
         route_and_render_request(request, next_routes)