mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-15 01:32:55 -07:00
Finished #483
This commit is contained in:
parent
dd92bb179c
commit
8a61371048
10 changed files with 243 additions and 7 deletions
|
@ -616,7 +616,7 @@ namespace PlexRequests.UI.Modules
|
|||
/// <returns></returns>
|
||||
private async Task<Response> RequestTvShow(int showId, string seasons)
|
||||
{
|
||||
if (Security.DoesNotHavePermissions(Permissions.ReadOnlyUser, User))
|
||||
if (Security.HasPermissions(User, Permissions.ReadOnlyUser))
|
||||
{
|
||||
return
|
||||
Response.AsJson(new JsonResponseModel()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue