mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-15 09:42:56 -07:00
Tidied up the warnings
This commit is contained in:
parent
ad796a47bd
commit
88b1472f88
5 changed files with 19 additions and 14 deletions
|
@ -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"];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue