mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-11 15:56:05 -07:00
Made it so the request limit doesn't apply to admin users
This commit is contained in:
parent
52fd1c7844
commit
0c3825905f
1 changed files with 3 additions and 0 deletions
|
@ -877,6 +877,9 @@ namespace PlexRequests.UI.Modules
|
||||||
|
|
||||||
private async Task<bool> CheckRequestLimit(PlexRequestSettings s, RequestType type)
|
private async Task<bool> CheckRequestLimit(PlexRequestSettings s, RequestType type)
|
||||||
{
|
{
|
||||||
|
if (IsAdmin)
|
||||||
|
return true;
|
||||||
|
|
||||||
var requestLimit = GetRequestLimitForType(type, s);
|
var requestLimit = GetRequestLimitForType(type, s);
|
||||||
if (requestLimit == 0)
|
if (requestLimit == 0)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue