Merge pull request #936 from cwe1ss/patch-1

Typo "Failed to retrived" -> "Failed to retrieve"
This commit is contained in:
Troy Dai 2016-08-04 09:51:54 -07:00 committed by GitHub
commit 5231c5a853
1 changed files with 2 additions and 2 deletions

View File

@ -38,7 +38,7 @@ namespace Microsoft.AspNetCore.Authentication.Facebook
var response = await Backchannel.GetAsync(endpoint, Context.RequestAborted);
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());
@ -157,4 +157,4 @@ namespace Microsoft.AspNetCore.Authentication.Facebook
return string.Join(",", Options.Scope);
}
}
}
}