From b7831d8ae1729ad675bc5d240b23cd9b263053ca Mon Sep 17 00:00:00 2001 From: andrew Date: Sat, 28 May 2022 01:58:03 +0700 Subject: [PATCH] Gitea api has been changed since 1.16, Owner team is no longer present in the list --- gitea-group-sync.go | 1 - 1 file changed, 1 deletion(-) diff --git a/gitea-group-sync.go b/gitea-group-sync.go index d2a6f57..f68d1cc 100644 --- a/gitea-group-sync.go +++ b/gitea-group-sync.go @@ -247,7 +247,6 @@ func mainJob() { cfg.ApiKeys.Command = "/api/v1/orgs/" + organizationList[i].Name + "/teams?access_token=" teamList := RequestTeamList(cfg.ApiKeys) log.Printf("%d teams were found in %s organization", len(teamList), organizationList[i].Name) - log.Printf("Skip synchronization in the Owners team") cfg.ApiKeys.BruteforceTokenKey = 0 for j := 0; j < len(teamList); j++ {