Skip to content

Commit

Permalink
fix(learnocaml_common.ml): Remove unused var (leftover of PR #489)
Browse files Browse the repository at this point in the history
This small patch avoids a warning and also saves one HTTP request.
  • Loading branch information
erikmd committed Jan 6, 2023
1 parent 918b79e commit dc5c89c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/app/learnocaml_common.ml
Expand Up @@ -1156,8 +1156,6 @@ let get_token ?(has_server = true) () =
Lwt.return
with
Not_found ->
retrieve (Learnocaml_api.Nonce ())
>>= fun nonce ->
ask_string ~title:"Token"
[H.txt [%i"Enter your token"]]
>>= fun input_tok ->
Expand Down

0 comments on commit dc5c89c

Please sign in to comment.