aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bin/main.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/main.ml b/bin/main.ml
index ab5548a..d3f283f 100644
--- a/bin/main.ml
+++ b/bin/main.ml
@@ -138,7 +138,7 @@ let () =
Dream.log "Unauthorized request";
let code = Some 401 in
Dream.json ?code "Unauthorized"
- | _, _, false ->
+ | _, "false", false ->
Dream.log "Unauthorized request";
let code = Some 401 in
Dream.json ?code "Unauthorized, not in whitelist"