diff --git a/SlackNet/SlackApiClient.cs b/SlackNet/SlackApiClient.cs index 754109e..bbba3e4 100644 --- a/SlackNet/SlackApiClient.cs +++ b/SlackNet/SlackApiClient.cs @@ -154,7 +154,8 @@ public SlackApiClient(IHttp http, ISlackUrlBuilder urlBuilder, SlackJsonSettings _token = token; } - public ISlackApiClient WithAccessToken(string accessToken) => new SlackApiClient(_http, _urlBuilder, _jsonSettings, accessToken); + public ISlackApiClient WithAccessToken(string accessToken) => + new SlackApiClient(_http, _urlBuilder, _jsonSettings, accessToken) { DisableRetryOnRateLimit = DisableRetryOnRateLimit }; public IApiApi Api => new ApiApi(this); public IAppsConnectionsApi AppsConnectionsApi => new AppsConnectionsApi(this);