summaryrefslogtreecommitdiff
path: root/lib/handlers.ml
diff options
context:
space:
mode:
authorMarius Peter <marius.peter@tutanota.com>2025-05-18 19:21:17 +0200
committerMarius Peter <marius.peter@tutanota.com>2025-05-18 19:21:17 +0200
commitf0c8906cd19479447ff5d0c1044ecbad6ab845d6 (patch)
treeb8f837b190099bf05cdc4c81f214b81c5b23c95c /lib/handlers.ml
parente457b7a8702ae3672cb65d8b3d394dd112594a89 (diff)
Good progress today 💯
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