Skip to content

Commit e69ab88

Browse files
committed
fix(csharp): update name
1 parent f6b7e8f commit e69ab88

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

clients/algoliasearch-client-csharp/algoliasearch/Transport/HttpTransport.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ private TimeSpan GetTimeOut(CallType callType)
296296
/// </summary>
297297
/// <param name="apiKey">Your API Key</param>
298298
/// <returns></returns>
299-
public void SetApiKey(string apiKey)
299+
public void SetAlgoliaApiKey(string apiKey)
300300
{
301301
_algoliaConfig.ApiKey = apiKey;
302302
}

templates/csharp/api.mustache

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -133,9 +133,9 @@ namespace Algolia.Search.Clients;
133133
/// </summary>
134134
/// <param name="apiKey">Your new API Key</param>
135135
/// <returns></returns>
136-
public void SetApiKey(string apiKey)
136+
public void SetAlgoliaApiKey(string apiKey)
137137
{
138-
_transport.SetApiKey(apiKey);
138+
_transport.SetAlgoliaApiKey(apiKey);
139139
}
140140

141141

@@ -263,4 +263,4 @@ namespace Algolia.Search.Clients;
263263
{{/supportsAsync}}
264264
{{/operation}}
265265
}
266-
{{/operations}}
266+
{{/operations}}

0 commit comments

Comments
 (0)