aboutsummaryrefslogtreecommitdiffstats
path: root/dashboard/app/reporting_email.go
diff options
context:
space:
mode:
authorAleksandr Nogikh <nogikh@google.com>2023-10-31 11:24:20 +0100
committerAleksandr Nogikh <nogikh@google.com>2023-10-31 10:35:54 +0000
commit58499c95b09b17b91d98543e0268d0fa17777ff1 (patch)
treee3e8ace92b5909f0547269883e8c10da1f0650da /dashboard/app/reporting_email.go
parent0badc11cea5bbdc5d2365f38925133398d1895a9 (diff)
dashboard: cleanup unnecessary accessLevels
Managers themselves do not have access level controls, so let's clean up the cases when we passed unnecessary arguments.
Diffstat (limited to 'dashboard/app/reporting_email.go')
-rw-r--r--dashboard/app/reporting_email.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/dashboard/app/reporting_email.go b/dashboard/app/reporting_email.go
index a43ffc3ad..289f5ad64 100644
--- a/dashboard/app/reporting_email.go
+++ b/dashboard/app/reporting_email.go
@@ -291,7 +291,7 @@ Dashboard link: %s
[1] I expect the commit to be present in:
`, notif.Text, days, nsConfig.DisplayTitle, notif.Link)
- repos, err := loadRepos(c, AccessPublic, notif.Namespace)
+ repos, err := loadRepos(c, notif.Namespace)
if err != nil {
return "", err
}