Skip to content

Commit

Permalink
docs: fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
fudiwei committed Apr 12, 2024
1 parent cc5013b commit eb4dd5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/Cookbook_HttpClientFactory.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public class WechatApiClientFactory
public WechatApiClient CreateClient()
{
WechatApiClient client = WechatApiClientBuilder.Create(_wechatApiClientOptions.Value)
.UseHttpClient(_httpClientFactory.Create(), disposeClient: false) // 设置 HttpClient 不随客户端一同销毁
.UseHttpClient(_httpClientFactory.CreateClient(), disposeClient: false) // 设置 HttpClient 不随客户端一同销毁
.Build();
return client;
}
Expand Down

0 comments on commit eb4dd5e

Please sign in to comment.