Merge pull request #936 from cwe1ss/patch-1
Typo "Failed to retrived" -> "Failed to retrieve"
This commit is contained in:
commit
5231c5a853
|
|
@ -38,7 +38,7 @@ namespace Microsoft.AspNetCore.Authentication.Facebook
|
||||||
var response = await Backchannel.GetAsync(endpoint, Context.RequestAborted);
|
var response = await Backchannel.GetAsync(endpoint, Context.RequestAborted);
|
||||||
if (!response.IsSuccessStatusCode)
|
if (!response.IsSuccessStatusCode)
|
||||||
{
|
{
|
||||||
throw new HttpRequestException($"Failed to retrived Facebook user information ({response.StatusCode}) Please check if the authentication information is correct and the corresponding Facebook Graph API is enabled.");
|
throw new HttpRequestException($"Failed to retrieve Facebook user information ({response.StatusCode}) Please check if the authentication information is correct and the corresponding Facebook Graph API is enabled.");
|
||||||
}
|
}
|
||||||
|
|
||||||
var payload = JObject.Parse(await response.Content.ReadAsStringAsync());
|
var payload = JObject.Parse(await response.Content.ReadAsStringAsync());
|
||||||
|
|
@ -157,4 +157,4 @@ namespace Microsoft.AspNetCore.Authentication.Facebook
|
||||||
return string.Join(",", Options.Scope);
|
return string.Join(",", Options.Scope);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue