mirror of
https://github.com/zoriya/octokit.net.git
synced 2025-12-05 23:06:10 +00:00
* initial tests and implementation of Copilot for Business client API * updated billing settings documentation * renames and refactors - clarity and simplified * using context to ensure license clean up * extra documentation and used ApiOptions instead of custom class * implemented observable clients * Fixing convention issues * renaming for clarity --------- Co-authored-by: Nick Floyd <139819+nickfloyd@users.noreply.github.com>
14 lines
402 B
C#
14 lines
402 B
C#
using System;
|
|
|
|
namespace Octokit.Tests.Integration.Helpers
|
|
{
|
|
internal sealed class CopilotHelper
|
|
{
|
|
public static void RemoveUserLicense(IConnection connection, string organization, string userLogin)
|
|
{
|
|
var client = new GitHubClient(connection);
|
|
client.Copilot.Licensing.Remove(organization, userLogin).Wait(TimeSpan.FromSeconds(15));
|
|
}
|
|
}
|
|
}
|