Skip to content

Commit 4754125

Browse files
authored
Enable automatic organization invitation process
1 parent e505f87 commit 4754125

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Web/Controllers/SyncController.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ public async Task<IActionResult> Index()
9898
var linkedGhUser = orgMembers.FirstOrDefault(u => u.Id == eu.GitHubId);
9999
if (linkedGhUser == null)
100100
{
101-
//await installationClient.Organization.Member.CreateOrganizationInvitation(orgLogin, new OrganizationInvitationRequest(eu.GitHubId.GetValueOrDefault()));
101+
await installationClient.Organization.Member.CreateOrganizationInvitation(orgLogin, new OrganizationInvitationRequest(eu.GitHubId.GetValueOrDefault()));
102102
}
103103
}
104104

@@ -157,4 +157,4 @@ public async Task<IActionResult> Index()
157157
return new OkObjectResult(new { });
158158
}
159159
}
160-
}
160+
}

0 commit comments

Comments
 (0)