mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-16 02:02:55 -07:00
parent
b04344dd17
commit
51fbd56c44
26 changed files with 631 additions and 204 deletions
|
@ -21,7 +21,7 @@ namespace Ombi.Core.Rule.Rules.Specific
|
|||
var req = (BaseRequest)obj;
|
||||
var sendNotification = !req.Approved; /*|| !prSettings.IgnoreNotifyForAutoApprovedRequests;*/
|
||||
|
||||
if (User.IsInRole(OmbiClaims.Admin))
|
||||
if (User.IsInRole(OmbiRoles.Admin))
|
||||
sendNotification = false; // Don't bother sending a notification if the user is an admin
|
||||
return Task.FromResult(new RuleResult
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue