diff --git a/source/Gttsb.Core/GroupSyncer.cs b/source/Gttsb.Core/GroupSyncer.cs index bf3d8a2..ae134d4 100644 --- a/source/Gttsb.Core/GroupSyncer.cs +++ b/source/Gttsb.Core/GroupSyncer.cs @@ -50,6 +50,11 @@ private async Task SyncronizeGroupsAsync(string gitHubOrg, IEnu foreach (var team in teamsControlledBySyncer) { + if(team.Name == "NA") + { + continue; + } + if(!allTeams.TryGetValue(team.Name, out var specificTeam)) { Console.WriteLine($"Creating team {team.Name}"); diff --git a/source/Gttsb.Gh/InstalledGitHubFacade.cs b/source/Gttsb.Gh/InstalledGitHubFacade.cs index 14276ca..fae32fa 100644 --- a/source/Gttsb.Gh/InstalledGitHubFacade.cs +++ b/source/Gttsb.Gh/InstalledGitHubFacade.cs @@ -55,7 +55,7 @@ public async Task> GetAllTeamsAsync(stri var result = await graphQlClient.Run(query); - return result.ToDictionary(t=> t.Name, t => new GitHubTeam(t.DatabaseId, t.Name, t.Members.Select(m => new GitHubUser(m.Email, new ValidGitHubId(m.Login))).ToList())); + return result.ToDictionary(t=> t.Name, t => new GitHubTeam(t.DatabaseId, t.Name, t.Members.Select(m => new GitHubUser(m.Email, new ValidGitHubId(m.Login))).ToList()), StringComparer.CurrentCultureIgnoreCase); } public async Task AddTeamMemberAsync(GitHubTeam team, ValidGitHubId userGitHubId)