diff --git a/src/dream.mli b/src/dream.mli index 783383fd..93d481c0 100644 --- a/src/dream.mli +++ b/src/dream.mli @@ -1368,7 +1368,7 @@ val router : route list -> handler Dream.run @@ Dream.router [ Dream.get "/echo/:word" @@ fun request -> - Dream.html (Dream.param "word" request); + Dream.html (Dream.param request "word"); ] ]}