We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 80ec51b + 6283cb9 commit 06dd1d1Copy full SHA for 06dd1d1
codegens/ocaml-cohttp/lib/ocaml.js
@@ -389,7 +389,7 @@ self = module.exports = {
389
if (bodySnippet !== '') {
390
codeSnippet += '~body ';
391
}
392
- codeSnippet += `${methodArg} uri >>= fun (resp, body) ->\n`;
+ codeSnippet += `${methodArg} uri >>= fun (_resp, body) ->\n`;
393
codeSnippet += `${indent}body |> Cohttp_lwt.Body.to_string >|= fun body -> body\n\n`;
394
codeSnippet += 'let () =\n';
395
codeSnippet += `${indent}let respBody = Lwt_main.run reqBody in\n`;
0 commit comments