mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-14 17:22:54 -07:00
Add the Issue Reporting functionality (#1811)
* Added issuesreporting and the ability to add categories to the UI * Added lazy loading!
This commit is contained in:
parent
438f56eceb
commit
246f1c07cf
109 changed files with 2905 additions and 526 deletions
|
@ -60,6 +60,7 @@ namespace Ombi.Notifications.Interfaces
|
|||
|
||||
// Is this a test?
|
||||
// The request id for tests is -1
|
||||
// Also issues are 0 since there might not be a request associated
|
||||
if (model.RequestId > 0)
|
||||
{
|
||||
await LoadRequest(model.RequestId, model.RequestType);
|
||||
|
@ -157,11 +158,11 @@ namespace Ombi.Notifications.Interfaces
|
|||
var curlys = new NotificationMessageCurlys();
|
||||
if (model.RequestType == RequestType.Movie)
|
||||
{
|
||||
curlys.Setup(MovieRequest, Customization);
|
||||
curlys.Setup(model, MovieRequest, Customization);
|
||||
}
|
||||
else
|
||||
{
|
||||
curlys.Setup(TvRequest, Customization);
|
||||
curlys.Setup(model, TvRequest, Customization);
|
||||
}
|
||||
var parsed = resolver.ParseMessage(template, curlys);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue