mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-11 15:56:05 -07:00
show the movie/show title when requesting.
This commit is contained in:
parent
29de229203
commit
5b93282b78
2 changed files with 3 additions and 3 deletions
|
@ -282,7 +282,7 @@ namespace PlexRequests.UI.Modules
|
|||
var notificationModel = new NotificationModel { Title = model.Title, User = model.RequestedBy, DateTime = DateTime.Now, NotificationType = NotificationType.NewRequest };
|
||||
NotificationService.Publish(notificationModel);
|
||||
|
||||
return Response.AsJson(new JsonResponseModel { Result = true });
|
||||
return Response.AsJson(new JsonResponseModel { Result = true, Message = $"{model.Title} was successfully added!" });
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
|
@ -408,7 +408,7 @@ namespace PlexRequests.UI.Modules
|
|||
var notificationModel = new NotificationModel { Title = model.Title, User = model.RequestedBy, DateTime = DateTime.Now, NotificationType = NotificationType.NewRequest };
|
||||
NotificationService.Publish(notificationModel);
|
||||
|
||||
return Response.AsJson(new { Result = true });
|
||||
return Response.AsJson(new JsonResponseModel { Result = true, Message = $"{model.Title} was successfully added!" });
|
||||
}
|
||||
|
||||
private bool CheckIfTitleExistsInPlex(string title, string year)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue