Tidied up the warnings

This commit is contained in:
Jamie.Rees 2016-12-08 14:32:08 +00:00
parent ad796a47bd
commit 88b1472f88
5 changed files with 19 additions and 14 deletions

View file

@ -47,12 +47,12 @@ namespace PlexRequests.UI.Modules
{
Analytics = a;
Get["/", true] = async(x,c) => await SetCulture();
Get["/"] = x => SetCulture();
}
private IAnalytics Analytics { get; }
public async Task<RedirectResponse> SetCulture()
private RedirectResponse SetCulture()
{
var culture = (string)Request.Query["l"];
var returnUrl = (string)Request.Query["u"];