mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-14 18:47:15 -07:00
Lots of fixed and stuff.
This commit is contained in:
parent
cb3c3fe10e
commit
7412655c5a
19 changed files with 725 additions and 284 deletions
|
@ -192,12 +192,17 @@ namespace PlexRequests.UI.Helpers
|
|||
{
|
||||
return ctx =>
|
||||
{
|
||||
Response response = null;
|
||||
Response response = new Response
|
||||
{
|
||||
StatusCode = HttpStatusCode.OK
|
||||
};
|
||||
if (!test(ctx))
|
||||
{
|
||||
response = new Response
|
||||
{
|
||||
StatusCode = statusCode
|
||||
};
|
||||
}
|
||||
return response;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue