mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-13 16:52:56 -07:00
fix(notifications): 🐛 Fixed the DenyReason sometimes not appearing in the notification message #4409
This commit is contained in:
parent
519b6a7a1a
commit
209e31175c
1 changed files with 3 additions and 2 deletions
|
@ -527,11 +527,12 @@ namespace Ombi.Core.Engine
|
|||
|
||||
request.Denied = true;
|
||||
request.DeniedReason = denyReason;
|
||||
// We are denying a request
|
||||
await NotificationHelper.Notify(request, NotificationType.RequestDeclined);
|
||||
await MovieRepository.Update(request);
|
||||
await _mediaCacheService.Purge();
|
||||
|
||||
// We are denying a request
|
||||
await NotificationHelper.Notify(request, NotificationType.RequestDeclined);
|
||||
|
||||
return new RequestEngineResult
|
||||
{
|
||||
Result = true,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue