Dependency updates and mtg color fixes

This commit is contained in:
runebaas 2018-04-28 01:28:48 +02:00
parent 846c928f5f
commit 4548c6083a
No known key found for this signature in database
GPG key ID: 2677AF508D0300D6
4 changed files with 17 additions and 17 deletions

View file

@ -9,11 +9,11 @@ namespace WikipediaApi
public class WikipediaClient : IWikipediaClient
{
private readonly HttpClient _httpClient;
public WikipediaClient()
public WikipediaClient(string language = "en")
{
_httpClient = new HttpClient
{
BaseAddress = new Uri("https://en.wikipedia.org")
BaseAddress = new Uri($"https://{language}.wikipedia.org")
};
}