Skip to content

Commit 4b37715

Browse files
committed
response参为非可空顾类型
1 parent ef74d93 commit 4b37715

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

WebApiClientCore/HttpMessageHandlers/AuthorizationHandler.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ private async Task<HttpResponseMessage> SendAsync(SetReason reason, HttpRequestM
5656
/// 反回true则触发重试请求
5757
/// </summary>
5858
/// <param name="response">响应消息</param>
59-
protected virtual Task<bool> IsUnauthorizedAsync(HttpResponseMessage? response)
59+
protected virtual Task<bool> IsUnauthorizedAsync(HttpResponseMessage response)
6060
{
6161
var state = response != null && response.StatusCode == HttpStatusCode.Unauthorized;
6262
return Task.FromResult(state);

0 commit comments

Comments
 (0)