mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-16 02:02:55 -07:00
merge
This commit is contained in:
parent
e24ad04be9
commit
d08b68ec25
1 changed files with 3 additions and 2 deletions
|
@ -1,4 +1,5 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
|
@ -133,7 +134,7 @@ namespace Ombi.Schedule.Jobs.Plex
|
|||
_log.LogInformation("[PAC] - Child request {0} is now available, sending notification", $"{child.Title} - {child.Id}");
|
||||
// We have ful-fulled this request!
|
||||
await _tvRepo.MarkChildAsAvailable(child.Id);
|
||||
await _notificationService.Publish(new NotificationOptions
|
||||
await _notificationService.Notify(new NotificationOptions
|
||||
{
|
||||
DateTime = DateTime.Now,
|
||||
NotificationType = NotificationType.RequestAvailable,
|
||||
|
@ -190,7 +191,7 @@ namespace Ombi.Schedule.Jobs.Plex
|
|||
{
|
||||
await _movieRepo.MarkAsAvailable(i.Id);
|
||||
|
||||
await _notificationService.Publish(new NotificationOptions
|
||||
await _notificationService.Notify(new NotificationOptions
|
||||
{
|
||||
DateTime = DateTime.Now,
|
||||
NotificationType = NotificationType.RequestAvailable,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue