mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-14 09:12:57 -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.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…
Add table
Add a link
Reference in a new issue