Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Prowlarr/commit/52a690b41acdc2c12df0c48a39fa704876eac4a4
You should set ROOT_URL correctly, otherwise the web may not work correctly.
1 changed files with
4 additions and
4 deletions
@ -22,15 +22,15 @@ namespace Prowlarr.Api.V1.History
[HttpGet]
[Produces("application/json")]
public PagingResource < HistoryResource > GetHistory ( [ FromQuery ] PagingRequestResource paging , int? eventType , bool? successful , string downloadId )
public PagingResource < HistoryResource > GetHistory ( [ FromQuery ] PagingRequestResource paging , [ FromQuery ( Name = "eventType" ) ] int [ ] eventTypes , bool? successful , string downloadId )
{
var pagingResource = new PagingResource < HistoryResource > ( paging ) ;
var pagingSpec = pagingResource . MapToPagingSpec < HistoryResource , NzbDrone . Core . History . History > ( "date" , SortDirection . Descending ) ;
if ( eventType . HasValue )
if ( eventType s ! = null & & eventTypes . Any ( ) )
{
var filterValue = ( HistoryEventType ) eventType . Value ;
pagingSpec . FilterExpressions . Add ( v = > v. EventType = = filterValue ) ;
var filterValue s = eventTypes . Cast < HistoryEventType > ( ) . ToArray ( ) ;
pagingSpec . FilterExpressions . Add ( v = > filterValues. Contains ( v . EventType ) ) ;
}
if ( successful . HasValue )