Skip to content

Commit

Permalink
fix build error
Browse files Browse the repository at this point in the history
  • Loading branch information
c-cube committed Oct 25, 2023
1 parent e02d74a commit 21a7056
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/twirp_tiny_httpd/twirp_tiny_httpd.ml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ let return_error (err : Error_codes.t) (msg : string option) : H.Response.t =
~headers:[ "content-type", "application/json" ]
~code:http_code json_body

let handle_rpc (rpc : PB_server.rpc) (req : string H.Request.t) : H.Response.t =
let handle_rpc (rpc : PB_server.any_rpc) (req : string H.Request.t) :
H.Response.t =
try
let (PB_server.RPC
{
Expand Down

0 comments on commit 21a7056

Please sign in to comment.