Merge pull request #20 from selukov/master

Gitea api has been changed since 1.16, Owner team is no longer presen…
master 0.2
Alex 2022-05-27 12:45:36 -07:00 committed by GitHub
commit 7aa15f58a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -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++ {