From a01e80c600235730e0572e4759828ab330c1be14 Mon Sep 17 00:00:00 2001 From: tidusjar Date: Wed, 6 Jul 2016 09:53:29 +0100 Subject: [PATCH] Fixed #409 --- PlexRequests.UI/Modules/SearchModule.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PlexRequests.UI/Modules/SearchModule.cs b/PlexRequests.UI/Modules/SearchModule.cs index 79bbd9d7d..d1bd4ce85 100644 --- a/PlexRequests.UI/Modules/SearchModule.cs +++ b/PlexRequests.UI/Modules/SearchModule.cs @@ -910,7 +910,7 @@ namespace PlexRequests.UI.Modules model.Approved = true; await RequestService.AddRequestAsync(model); - if (ShouldSendNotification(RequestType.Movie, settings)) + if (ShouldSendNotification(model.Type, settings)) { var notificationModel = new NotificationModel { @@ -918,7 +918,7 @@ namespace PlexRequests.UI.Modules User = Username, DateTime = DateTime.Now, NotificationType = NotificationType.NewRequest, - RequestType = RequestType.Movie + RequestType = model.Type }; await NotificationService.Publish(notificationModel); }