Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
joseferben committed Nov 24, 2022
1 parent aa3451d commit 27b3a4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sihl/src/web_id.ml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ let set id req =
{ req with env }
;;

let middleware ?(id = (fun () -> Core_random.base64 64)) () =
let middleware ?(id = fun () -> Core_random.base64 64) () =
let filter handler req =
match Opium.Request.header "x-request-id" req with
| Some request_id -> handler (set request_id req)
Expand Down

0 comments on commit 27b3a4b

Please sign in to comment.