fix(notifications): 🐛 Fixed the DenyReason sometimes not appearing in the notification message #4409

pull/4445/head
tidusjar 3 years ago
parent 519b6a7a1a
commit 209e31175c

@ -527,11 +527,12 @@ namespace Ombi.Core.Engine
request.Denied = true; request.Denied = true;
request.DeniedReason = denyReason; request.DeniedReason = denyReason;
// We are denying a request
await NotificationHelper.Notify(request, NotificationType.RequestDeclined);
await MovieRepository.Update(request); await MovieRepository.Update(request);
await _mediaCacheService.Purge(); await _mediaCacheService.Purge();
// We are denying a request
await NotificationHelper.Notify(request, NotificationType.RequestDeclined);
return new RequestEngineResult return new RequestEngineResult
{ {
Result = true, Result = true,

Loading…
Cancel
Save