Skip to content

Commit f7c13b2

Browse files
Fix gql client
1 parent 76a9d89 commit f7c13b2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

csharp/Storage/RemoteStorage/GitHubStorage.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ namespace Storage.Remote.GitHub
2121
/// </summary>
2222
public class GitHubStorage
2323
{
24-
public ProductHeaderValue ProductInformation;
25-
public Connection GraphQlClient;
24+
public Octokit.GraphQL.ProductHeaderValue ProductInformation;
25+
public Octokit.GraphQL.Connection GraphQlClient;
2626

2727
/// <summary>
2828
/// <para>
@@ -80,8 +80,8 @@ public GitHubStorage(string owner, string token, string name)
8080
Credentials = credentials
8181
};
8282
MinimumInteractionInterval = new(0, 0, 0, 0, 1200);
83-
ProductInformation = new ProductHeaderValue("LinksPlatform", "1.0.0");
84-
GraphQlClient = new Connection(ProductInformation, credentialStore: new InMemoryCredentialStore(credentials));
83+
ProductInformation = new Octokit.GraphQL.ProductHeaderValue("LinksPlatform", "1.0.0");
84+
GraphQlClient = new Octokit.GraphQL.Connection(ProductInformation, token);
8585
}
8686

8787
/// <summary>

0 commit comments

Comments
 (0)