summaryrefslogtreecommitdiff
path: root/lib/handlers.ml
diff options
context:
space:
mode:
Diffstat (limited to 'lib/handlers.ml')
-rw-r--r--lib/handlers.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/handlers.ml b/lib/handlers.ml
index 321c693..17b9eab 100644
--- a/lib/handlers.ml
+++ b/lib/handlers.ml
@@ -12,7 +12,7 @@ module Repo = struct
let repo_path req = Dream.param req "repo_name"
let summary req =
- let branches = Git_helpers.Branch.all_branches (repo_path req) in
+ let* branches = Git_helpers.Branch.all_branches (repo_path req) in
let* commits = Git_helpers.Commit.recent_commits (repo_path req) 10 in
let authors = [ "John Pork"; "Sebastian Jellybean" ] in
Views.Repo.summary (repo_path req) branches commits authors
Copyright 2019--2025 Marius PETER