Commit 33bdc46d127480f80b693b37baaf40faa84b063f

Thomas de Grivel 2024-05-14T15:24:52

public access

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/lib/kmxgit_web/controllers/admin/repository_controller.ex b/lib/kmxgit_web/controllers/admin/repository_controller.ex
index 1b79585..ae0a4ae 100644
--- a/lib/kmxgit_web/controllers/admin/repository_controller.ex
+++ b/lib/kmxgit_web/controllers/admin/repository_controller.ex
@@ -102,7 +102,7 @@ defmodule KmxgitWeb.Admin.RepositoryController do
 
   def show(conn, params) do
     repo = RepositoryManager.get_repository!(params["id"])
-    public_access = RepositoryManager.public_access(Repository.full_slug(repo))
+    public_access = RepositoryManager.public_access?(Repository.full_slug(repo))
     |> RepositoryManager.put_disk_usage()
     conn
     |> assign(:members, Repository.members(repo))