This commit is contained in:
Jamie.Rees 2017-01-11 08:40:31 +00:00
parent d6fa9f8af7
commit bda34c9d1b
3 changed files with 12 additions and 9 deletions

View file

@ -1277,7 +1277,8 @@ namespace Ombi.UI.Modules
User = Username,
DateTime = DateTime.Now,
NotificationType = NotificationType.NewRequest,
RequestType = model.Type
RequestType = model.Type,
ImgSrc = model.Type == RequestType.Movie ? $"https://image.tmdb.org/t/p/w300/{model.PosterPath}" : model.PosterPath
};
await NotificationService.Publish(notificationModel);
}
@ -1315,7 +1316,8 @@ namespace Ombi.UI.Modules
User = Username,
DateTime = DateTime.Now,
NotificationType = NotificationType.NewRequest,
RequestType = model.Type
RequestType = model.Type,
ImgSrc = model.Type == RequestType.Movie ? $"https://image.tmdb.org/t/p/w300/{model.PosterPath}" : model.PosterPath
};
await NotificationService.Publish(notificationModel);
}