From 6841ace3b3504ab47b4d678bd1689942a5019f2d Mon Sep 17 00:00:00 2001 From: Mohammad Ismail <96207520+mouismail@users.noreply.github.com> Date: Thu, 26 Sep 2024 18:18:00 +0200 Subject: [PATCH] Update repoOwners.go --- repoOwners.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repoOwners.go b/repoOwners.go index 7445aeb..f803be1 100644 --- a/repoOwners.go +++ b/repoOwners.go @@ -55,7 +55,7 @@ func checkAppInstallation(client *github.Client, owner, repo, appSlug string, li log.Printf("Error fetching app installations: %v", err) return } - +// TODO: o(n'2) to be refactored to be o(log n) max for _, installation := range installations { if installation.AppSlug != nil && *installation.AppSlug == appSlug { // Check if the app is installed on the specific repository